From 02ff5cd3757f40ef15aabffc01941e2c60e9972e Mon Sep 17 00:00:00 2001 From: Quinn Klassen Date: Wed, 13 Nov 2024 07:34:29 -0800 Subject: [PATCH] Add timeout to canRunWithResourceBasedTuner (#2313) --- .../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);