Skip to content

Commit

Permalink
SNOW-1196041: Enrich testQueryStatusErrorMessageAndErrorCodeChangeOnA…
Browse files Browse the repository at this point in the history
…syncQuery time limits
  • Loading branch information
sfc-gh-dprzybysz committed Mar 7, 2024
1 parent 0863c1c commit d43e4c4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,10 +403,10 @@ public void testQueryStatusErrorMessageAndErrorCodeChangeOnAsyncQuery() throws S
SnowflakeResultSet sfResultSet = rs1.unwrap(SnowflakeResultSet.class);
// status should change state to RUNNING and then to SUCCESS
await()
.atMost(Duration.ofSeconds(5))
.atMost(Duration.ofSeconds(10))
.until(() -> sfResultSet.getStatusV2().getStatus(), equalTo(QueryStatus.RUNNING));
await()
.atMost(Duration.ofSeconds(5))
.atMost(Duration.ofSeconds(50))
.until(() -> sfResultSet.getStatusV2().getStatus(), equalTo(QueryStatus.SUCCESS));
}
}
Expand Down

0 comments on commit d43e4c4

Please sign in to comment.