This is an automated email from the ASF dual-hosted git repository.
brandonwilliams pushed a commit to branch cassandra-5.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/cassandra-5.0 by this push:
new 11480a8b08 Wait for completion of async dumpMemtable in
CommitLogTestCQL
11480a8b08 is described below
commit 11480a8b0837f86b5870de870c383a88f9d97607
Author: Dmitry Konstantinov <[email protected]>
AuthorDate: Fri Feb 7 20:53:55 2025 +0000
Wait for completion of async dumpMemtable in CommitLogTestCQL
Patch by Dmitry Konstantinov; reviewed by brandonwilliams and
smiklosovic for CASSANDRA-20298
---
test/unit/org/apache/cassandra/db/commitlog/CommitLogCQLTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/unit/org/apache/cassandra/db/commitlog/CommitLogCQLTest.java
b/test/unit/org/apache/cassandra/db/commitlog/CommitLogCQLTest.java
index 2fd38d8e8c..90f9627af6 100644
--- a/test/unit/org/apache/cassandra/db/commitlog/CommitLogCQLTest.java
+++ b/test/unit/org/apache/cassandra/db/commitlog/CommitLogCQLTest.java
@@ -32,6 +32,7 @@ import org.junit.Test;
import org.apache.cassandra.cql3.CQLTester;
import org.apache.cassandra.cql3.QueryProcessor;
import org.apache.cassandra.db.ColumnFamilyStore;
+import org.apache.cassandra.utils.FBUtilities;
public class CommitLogCQLTest extends CQLTester
{
@@ -89,7 +90,7 @@ public class CommitLogCQLTest extends CQLTester
{
QueryProcessor.executeInternal(stmt, i,
Integer.toString(i));
}
- cfs.dumpMemtable();
+ FBUtilities.waitOnFuture(cfs.dumpMemtable());
}
}
catch (Throwable t)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]