Merge branch 'cassandra-5.0' into trunk

* cassandra-5.0:
  Flaky PstmtPersistenceTest
This commit is contained in:
Bereng 2024-11-11 09:47:27 +01:00
commit 7d0c0c8d1e
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ public class PstmtPersistenceTest extends CQLTester
prepareStatement("INSERT INTO %s (key, val) VALUES (?, ?) USING TIMESTAMP " + cnt2, clientState);
// each new prepared statement should have caused an eviction
Util.spinAssertEquals("eviction count didn't increase by the expected number", 10L, this::numberOfEvictedStatements, 5, TimeUnit.SECONDS);
Util.spinAssertEquals("eviction count didn't increase by the expected number", 10L, this::numberOfEvictedStatements, 90, TimeUnit.SECONDS);
assertEquals("Number of statements in table and in cache don't match", numberOfStatementsInMemory(), numberOfStatementsOnDisk());
return;