test: skip all Java integration test classes when JAR missing

Apply @requires_java_runtime to TestJavaRunAndParseBehavior and
TestJavaRunAndParsePerformance at the class level. The performance
test was failing on Windows with a flaky 10ms timing assertion
(10.515ms actual, 5% tolerance) — pre-existing issue masked by
continue-on-error.
This commit is contained in:
Kevin Turcios 2026-04-09 16:01:40 -05:00
parent 72cf0e1654
commit 5ff38597ef

View file

@ -234,6 +234,7 @@ public class PreciseWaiter {
"""
@requires_java_runtime
class TestJavaRunAndParseBehavior:
def test_behavior_single_test_method(self, java_project):
"""Full pipeline: instrument → run → parse with precise field assertions."""
@ -413,6 +414,7 @@ public class AdderMultiTest {
assert equivalent is False
@requires_java_runtime
class TestJavaRunAndParsePerformance:
"""Tests that the performance instrumentation produces correct timing data.