Skip to content

Commit 4b0df8a

Browse files
committed
ninja: fix IndexBuildsAfterStreamingTest regression due to now correctly capturing all uncaught exceptions
1 parent 11b72f5 commit 4b0df8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/distributed/org/apache/cassandra/distributed/test/streaming/IndexBuildFailsAfterStreamingTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public void test() throws IOException
5454
.set("disk_failure_policy", "die"))
5555
.start()))
5656
{
57+
cluster.setUncaughtExceptionsFilter(t -> t.getMessage().equals("On purpose fail 2i build"));
5758
cluster.schemaChange(withKeyspace("CREATE TABLE %s.tbl (p int, c int, v int, PRIMARY KEY(p, c))"));
5859
cluster.schemaChange(withKeyspace("CREATE INDEX idx ON %s.tbl(v)"));
5960

0 commit comments

Comments
 (0)