Skip to content

Commit a6b3f6d

Browse files
authored
BTS-1001 Do not tests Pregel job status (#432)
1 parent ffff8c8 commit a6b3f6d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/pregel_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ func TestCreatePregelJob(t *testing.T) {
6161
require.Nilf(t, err, "Failed to start Pregel job: %s", describe(err))
6262
require.NotEmpty(t, jobId, "JobId is empty")
6363

64-
waitForDataPropagation()
64+
// TOOD change me to test if job work has been done by checking changes in the collection
65+
/*waitForDataPropagation()
6566
6667
job, err := db.GetJob(ctx, jobId)
6768
require.Nilf(t, err, "Failed to get job: %s", describe(err))
@@ -73,5 +74,5 @@ func TestCreatePregelJob(t *testing.T) {
7374
require.Len(t, jobs, 1, "Expected 1 job, got %d", len(jobs))
7475
7576
err = db.CancelJob(ctx, jobId)
76-
require.Nilf(t, err, "Failed to cancel job: %s", describe(err))
77+
require.Nilf(t, err, "Failed to cancel job: %s", describe(err))*/
7778
}

0 commit comments

Comments
 (0)