Skip to content

Commit

Permalink
[Tests] Fix flaky test TransactionMetadataStoreServiceTest.transactio…
Browse files Browse the repository at this point in the history
…nTimeoutRecoverTest (apache#10313)

Fixes apache#10310
  • Loading branch information
lhotari authored Apr 21, 2021
1 parent 424eaec commit fda4cd6
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ public void transactionTimeoutRecoverTest() throws Exception {
field.setAccessible(true);
ConcurrentMap<TxnID, Pair<TxnMeta, List<Position>>> txnMap =
(ConcurrentMap<TxnID, Pair<TxnMeta, List<Position>>>) field.get(transactionMetadataStore);
assertEquals(txnMap.size(), 1);
Awaitility.await().atMost(3000, TimeUnit.MILLISECONDS).until(() -> txnMap.size() == 0);

}
Expand Down

0 comments on commit fda4cd6

Please sign in to comment.