Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Sep 6, 2024
1 parent d747cf6 commit ab594bc
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import hudson.model.ParametersDefinitionProperty;
import hudson.model.StringParameterDefinition;
import hudson.model.StringParameterValue;
import hudson.tasks.junit.TestResultAction;
import java.io.File;
import java.nio.charset.StandardCharsets;
import org.apache.commons.io.FileUtils;
Expand Down Expand Up @@ -103,6 +104,11 @@ public void workflowDoesNotGenerateInclusionsFromRunningBuild() throws Exception
jenkinsRule.waitForCompletion(b1);
}

static {
// https://github.com/jenkinsci/junit-plugin/pull/625#discussion_r1747346165
System.setProperty(TestResultAction.class.getName() + ".RESULT_CACHE_ENABLED", "false");
}

@Issue("JENKINS-71139")
@Test
public void unloadableTestResult() throws Exception {
Expand Down

0 comments on commit ab594bc

Please sign in to comment.