From efc8f082d7f7a83e3c5ce31283d7e762c151df9e Mon Sep 17 00:00:00 2001 From: Quinn Klassen Date: Fri, 8 Nov 2024 15:58:11 -0800 Subject: [PATCH] Add timeout to canRunWithResourceBasedTuner --- .../test/java/io/temporal/worker/ResourceBasedTunerTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/temporal-sdk/src/test/java/io/temporal/worker/ResourceBasedTunerTests.java b/temporal-sdk/src/test/java/io/temporal/worker/ResourceBasedTunerTests.java index 98b850ed6..ca61f7371 100644 --- a/temporal-sdk/src/test/java/io/temporal/worker/ResourceBasedTunerTests.java +++ b/temporal-sdk/src/test/java/io/temporal/worker/ResourceBasedTunerTests.java @@ -65,7 +65,7 @@ public class ResourceBasedTunerTests { .reportEvery(com.uber.m3.util.Duration.ofMillis(10))) .build(); - @Test + @Test(timeout = 300 * 1000) public void canRunWithResourceBasedTuner() throws InterruptedException { ResourceTunerWorkflow workflow = testWorkflowRule.newWorkflowStub(ResourceTunerWorkflow.class); workflow.execute(5, 5, 1000);