From 7fac74629800a9cfceb8c446564895b0c4c9489a Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Sat, 3 Aug 2019 16:01:01 +0100 Subject: [PATCH] TimerSmokeTests to junit5 - Start using tag smoke to exclude those from a normal ci build cycle(will have a separate plan). - Relates #779 --- .../statemachine/buildtests/TimerSmokeTests.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spring-statemachine-build-tests/src/test/java/org/springframework/statemachine/buildtests/TimerSmokeTests.java b/spring-statemachine-build-tests/src/test/java/org/springframework/statemachine/buildtests/TimerSmokeTests.java index cff6dca8..214a14b7 100644 --- a/spring-statemachine-build-tests/src/test/java/org/springframework/statemachine/buildtests/TimerSmokeTests.java +++ b/spring-statemachine-build-tests/src/test/java/org/springframework/statemachine/buildtests/TimerSmokeTests.java @@ -19,7 +19,8 @@ import static org.springframework.statemachine.TestUtils.doSendEventAndConsumeAl import static org.springframework.statemachine.TestUtils.doStartAndAssert; import static org.springframework.statemachine.TestUtils.doStopAndAssert; -import org.junit.Test; +import org.junit.jupiter.api.Tag; +import org.junit.jupiter.api.Test; import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; import org.springframework.statemachine.StateMachine; import org.springframework.statemachine.config.StateMachineBuilder; @@ -106,6 +107,7 @@ public class TimerSmokeTests { } @Test + @Tag("smoke") public void testDeadlock() throws Exception { StateMachineTestPlan plan; for (int i = 0; i < 20; i++) {