diff --git a/src/test/java/com/code_intelligence/jazzer/mutation/mutator/BUILD.bazel b/src/test/java/com/code_intelligence/jazzer/mutation/mutator/BUILD.bazel index d88d1ec40..3eb676af9 100644 --- a/src/test/java/com/code_intelligence/jazzer/mutation/mutator/BUILD.bazel +++ b/src/test/java/com/code_intelligence/jazzer/mutation/mutator/BUILD.bazel @@ -1,10 +1,12 @@ load("@contrib_rules_jvm//java:defs.bzl", "java_junit5_test") +load("//bazel:compat.bzl", "SKIP_ON_WINDOWS") TEST_PARALLELISM = 4 java_junit5_test( name = "StressTest", - size = "large", + size = "enormous", + timeout = "long", srcs = ["StressTest.java"], env = {"JAZZER_MOCK_LIBFUZZER_MUTATOR": "true"}, jvm_flags = [ @@ -13,7 +15,12 @@ java_junit5_test( "-Djunit.jupiter.execution.parallel.config.strategy=fixed", "-Djunit.jupiter.execution.parallel.config.fixed.parallelism=" + str(TEST_PARALLELISM), ], - tags = ["cpu:" + str(TEST_PARALLELISM)], + tags = [ + "cpu:" + str(TEST_PARALLELISM), + "exclusive", + ], + # The test is particularly slow on Windows runners and is not expected to be platform-specific. + target_compatible_with = SKIP_ON_WINDOWS, deps = [ "//src/main/java/com/code_intelligence/jazzer/api", "//src/main/java/com/code_intelligence/jazzer/driver:fuzzed_data_provider_impl",