Skip to content

Commit a167c27

Browse files
Update impl/test/src/test/java/io/serverlessworkflow/impl/test/SecretExpressionTest.java
Co-authored-by: Ricardo Zanini <[email protected]>
1 parent e067428 commit a167c27

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

impl/test/src/test/java/io/serverlessworkflow/impl/test/SecretExpressionTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
import java.util.Optional;
2828
import org.junit.jupiter.api.BeforeAll;
2929
import org.junit.jupiter.api.Test;
30+
import org.junit.jupiter.api.parallel.Execution;
31+
import org.junit.jupiter.api.parallel.ExecutionMode;
32+
import org.junit.jupiter.api.parallel.ResourceLock;
33+
import org.junit.jupiter.api.parallel.Resources;
3034

3135
public class SecretExpressionTest {
3236

@@ -38,6 +42,8 @@ static void init() throws IOException {
3842
}
3943

4044
@Test
45+
@Execution(ExecutionMode.SAME_THREAD)
46+
@ResourceLock(Resources.SYSTEM_PROPERTIES)
4147
void testDefault() {
4248
System.setProperty("whoissuperman", "ClarkKent");
4349
try (WorkflowApplication appl = WorkflowApplication.builder().build()) {

0 commit comments

Comments
 (0)