mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
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:
parent
72cf0e1654
commit
5ff38597ef
1 changed files with 2 additions and 0 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue