Skip to content

Commit

Permalink
fix(bulk-schema flaky test): Add sleep time to wait for clusters befo…
Browse files Browse the repository at this point in the history
…re querying for schema in the test (#5826) (#5931)

Add sleep to prevent query on unhealthy cluster

(cherry picked from commit b537eff)
  • Loading branch information
all-seeing-code authored Jul 10, 2020
1 parent 0c25a21 commit 0d8835c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dgraph/cmd/bulk/systest/test-bulk-schema.sh
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ pushd dir2 >/dev/null
StartZero
BulkLoadExportedData
StartAlpha "./out/0/p"
sleep 5
QuerySchema
StopServers

Expand All @@ -258,6 +259,7 @@ pushd dir3 >/dev/null
StartZero
BulkLoadFixtureData
StartAlpha "./out/0/p"
sleep 5
QuerySchema
StopServers

Expand Down

0 comments on commit 0d8835c

Please sign in to comment.