Skip to content

Commit

Permalink
Increase wait time in test
Browse files Browse the repository at this point in the history
To allow sufficient time for background build of
quick stats to finish
  • Loading branch information
aaneja authored and tdcmeehan committed Feb 27, 2024
1 parent be66148 commit fda906e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ public void quickStatsBuildTimeIsBounded()
assertEquals(quickStats.get("p6"), empty());

// Subsequent queries for the same partitions will fetch the cached stats though
Thread.sleep(20); // Sleep to allow futures to complete
Thread.sleep(250); // Sleep to allow futures to complete

quickStats = quickStatsProvider.getQuickStats(session, metastoreMock,
new SchemaTableName(TEST_SCHEMA, TEST_TABLE), metastoreContext, ImmutableList.of("p5", "p6"));
Expand Down

0 comments on commit fda906e

Please sign in to comment.