File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
impl/test/src/test/java/io/serverlessworkflow/impl/test Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 2727import java .util .Optional ;
2828import org .junit .jupiter .api .BeforeAll ;
2929import 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
3135public 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 ()) {
You can’t perform that action at this time.
0 commit comments