Skip to content

Commit 28f5fec

Browse files
committed
added comments
1 parent 490c8df commit 28f5fec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dgraph/cmd/dgraphimport/import_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,6 @@ func runImportTest(t *testing.T, tt testcase) {
288288
require.NoError(t, targetCluster.HealthCheck(false))
289289
t.Log("Import completed")
290290

291-
targetCluster.AssignTs(gc.Dgraph, 25000)
292-
293291
for i := 0; i < tt.targetAlphas; i++ {
294292
t.Logf("Verifying import for alpha %v", i)
295293
gc, cleanup, err := targetCluster.AlphaClient(i)
@@ -345,6 +343,9 @@ func setupTargetCluster(t *testing.T, numAlphas, replicasFactor int) (
345343
gc, cleanup, err := cluster.Client()
346344
require.NoError(t, err)
347345

346+
cluster.AssignTs(gc.Dgraph, 25000)
347+
cluster.AssignUids(gc.Dgraph, 65536)
348+
348349
// Return cluster and client (cleanup will be handled by the caller)
349350
return cluster, gc, cleanup
350351
}

0 commit comments

Comments
 (0)