diff --git a/plugin/src/test/java/org/jenkinsci/plugins/workflow/cps/FlowDurabilityTest.java b/plugin/src/test/java/org/jenkinsci/plugins/workflow/cps/FlowDurabilityTest.java index 610e840fa..6b4689cbb 100644 --- a/plugin/src/test/java/org/jenkinsci/plugins/workflow/cps/FlowDurabilityTest.java +++ b/plugin/src/test/java/org/jenkinsci/plugins/workflow/cps/FlowDurabilityTest.java @@ -63,7 +63,9 @@ import java.util.Random; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; +import java.util.logging.Level; import org.junit.Assume; +import org.jvnet.hudson.test.LoggerRule; /** * Tests implementations designed to verify handling of the flow durability levels and persistence of pipeline state. @@ -87,6 +89,9 @@ public class FlowDurabilityTest { @Rule public TimedRepeatRule repeater = new TimedRepeatRule(); + @Rule + public LoggerRule logging = new LoggerRule().record(WorkflowRun.class, Level.FINE); + // Used in Race-condition/persistence fuzzing where we need to run repeatedly static class TimedRepeatRule implements TestRule {