Skip to content

Commit

Permalink
increase waitFor couchdb index creation
Browse files Browse the repository at this point in the history
Signed-off-by: senthil <cendhu@gmail.com>
  • Loading branch information
cendhu authored and Brett Logan committed Apr 17, 2020
1 parent d18938a commit adc137f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ func TestHandleChaincodeDeploy(t *testing.T) {
}
return true
}
assert.Eventually(t, queryUsingIndex, 2*time.Second, 100*time.Millisecond, "error executing query with sort")
assert.Eventually(t, queryUsingIndex, 6*time.Second, 1*time.Second, "error executing query with sort")

//Query namespace "ns2", index is only created in "ns1". This should return an error.
_, err = db.ExecuteQuery("ns2", queryString)
Expand Down Expand Up @@ -738,7 +738,7 @@ func TestHandleChaincodeDeployErroneousIndexFile(t *testing.T) {
}
return true
}
assert.Eventually(t, queryUsingIndex, 2*time.Second, 100*time.Millisecond, "error executing query with sort")
assert.Eventually(t, queryUsingIndex, 6*time.Second, 1*time.Second, "error executing query with sort")
}

func TestIsBulkOptimizable(t *testing.T) {
Expand Down

0 comments on commit adc137f

Please sign in to comment.