You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by be...@apache.org on 2025/11/27 18:29:35 UTC
(cassandra) branch trunk updated: ninja: fix IndexBuildsAfterStreamingTest regression due to now correctly capturing all uncaught exceptions
This is an automated email from the ASF dual-hosted git repository.
benedict pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push:
new 4b0df8ad6d ninja: fix IndexBuildsAfterStreamingTest regression due to now correctly capturing all uncaught exceptions
4b0df8ad6d is described below
commit 4b0df8ad6dadb633a43ccaa108550686118c11b0
Author: Benedict Elliott Smith <be...@apache.org>
AuthorDate: Thu Nov 27 18:23:14 2025 +0000
ninja: fix IndexBuildsAfterStreamingTest regression due to now correctly capturing all uncaught exceptions
---
.../distributed/test/streaming/IndexBuildFailsAfterStreamingTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/distributed/org/apache/cassandra/distributed/test/streaming/IndexBuildFailsAfterStreamingTest.java b/test/distributed/org/apache/cassandra/distributed/test/streaming/IndexBuildFailsAfterStreamingTest.java
index 767689f8cc..21e6bf5eec 100644
--- a/test/distributed/org/apache/cassandra/distributed/test/streaming/IndexBuildFailsAfterStreamingTest.java
+++ b/test/distributed/org/apache/cassandra/distributed/test/streaming/IndexBuildFailsAfterStreamingTest.java
@@ -54,6 +54,7 @@ public class IndexBuildFailsAfterStreamingTest extends TestBaseImpl
.set("disk_failure_policy", "die"))
.start()))
{
+ cluster.setUncaughtExceptionsFilter(t -> t.getMessage().equals("On purpose fail 2i build"));
cluster.schemaChange(withKeyspace("CREATE TABLE %s.tbl (p int, c int, v int, PRIMARY KEY(p, c))"));
cluster.schemaChange(withKeyspace("CREATE INDEX idx ON %s.tbl(v)"));
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org