Skip to content

Commit

Permalink
fix: oracle integration test was brittle when it queried the node too…
Browse files Browse the repository at this point in the history
… quickly for OracleRespondTx stage
  • Loading branch information
randomshinichi committed Jun 4, 2019
1 parent 454d0a7 commit 90ed1a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration_test/oracle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ func TestOracleWorkflow(t *testing.T) {
_ = waitForTransaction(aeClient, oracleQueryTxHash)

fmt.Println("OracleRespondTx")
fmt.Println("Sleeping a bit before querying node for OracleID")
time.Sleep(1000 * time.Millisecond)
// Find the Oracle Query ID to reply to
oracleQueries, err := aeClient.APIGetOracleQueriesByPubkey(oraclePubKey)
if err != nil {
Expand Down

0 comments on commit 90ed1a2

Please sign in to comment.