From b8389152cf791962780cd7797f16c92e9fd4fc69 Mon Sep 17 00:00:00 2001 From: Matt Valentine-House Date: Fri, 6 Nov 2026 22:12:05 +0000 Subject: [PATCH] Exclude flaky URI linear time test the test_merge_path_dot_dot_removal_is_linear test bases its time limit on the CPU time of the calling thread. But the limit is actually checked against wall clock time so GC pauses count against it - despite that work happening on other threads (like the MMTk GC workers) isn't taken into account when calculating the time limit. This means that on debug builds especially, the test fails frequently because occasional GC runs use up basically all the allowed wall time. We should probably revisit this upstream, given that it's making the assumption that the mutator thread the the gc worker thread are the same, but for now let's just exclude this for MMTk. --- test/.excludes-mmtk/URI/TestGeneric.rb | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/.excludes-mmtk/URI/TestGeneric.rb diff --git a/test/.excludes-mmtk/URI/TestGeneric.rb b/test/.excludes-mmtk/URI/TestGeneric.rb new file mode 100644 index 0000000..2539581 --- /dev/null +++ b/test/.excludes-mmtk/URI/TestGeneric.rb @@ -0,0 +1 @@ +exclude(:test_merge_path_dot_dot_removal_is_linear, "linear time assertion is flaky under MMTk")