Skip to content

Commit

Permalink
Revert "increase waitFor couchdb index creation"
Browse files Browse the repository at this point in the history
This reverts commit adc137f.

Change-Id: I72df75480a96d754d5d2afb447901044d4510be7
Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
  • Loading branch information
sykesm committed Apr 17, 2020
1 parent fc5b013 commit 9227d55
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, 6*time.Second, 1*time.Second, "error executing query with sort")
assert.Eventually(t, queryUsingIndex, 2*time.Second, 100*time.Millisecond, "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, 6*time.Second, 1*time.Second, "error executing query with sort")
assert.Eventually(t, queryUsingIndex, 2*time.Second, 100*time.Millisecond, "error executing query with sort")
}

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

0 comments on commit 9227d55

Please sign in to comment.