Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaji-kharse committed Jul 11, 2024
1 parent 688a502 commit 8068d2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/java/io/dgraph/DgraphAsyncClientTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@ public void testBestEffortQueries() throws InterruptedException {

Mutation mu =
Mutation.newBuilder()
// .setCommitNow(true)
.setCommitNow(true)
.setSetJson(ByteString.copyFromUtf8(json.toString()))
.build(); // this mutation won't be committed
Response mutationResp = dgraphAsyncClient.newTransaction().mutate(mu).join();
.build();
Response mutationResp = dgraphAsyncClient.newTransaction().mutate(mu).join();
System.out.println("mutation response:" + mutationResp);

// sleep for 5 seconds for the max assigned ts to be propagated
Expand Down

0 comments on commit 8068d2b

Please sign in to comment.