File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
temporal-spring-boot-autoconfigure/src/test/java/io/temporal/spring/boot/autoconfigure Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 18
18
import org .springframework .context .annotation .ComponentScan ;
19
19
import org .springframework .context .annotation .FilterType ;
20
20
import org .springframework .test .context .ActiveProfiles ;
21
+ import org .slf4j .Logger ;
22
+ import org .slf4j .LoggerFactory ;
21
23
22
24
@ SpringBootTest (classes = WorkerVersioningTest .Configuration .class )
23
25
@ ActiveProfiles (profiles = "worker-versioning" )
@@ -26,15 +28,18 @@ public class WorkerVersioningTest {
26
28
@ Autowired ConfigurableApplicationContext applicationContext ;
27
29
@ Autowired WorkflowClient workflowClient ;
28
30
31
+ private static final Logger log = LoggerFactory .getLogger ("sleep-activity" );
32
+
29
33
@ BeforeAll
30
34
static void checkDockerService () {
31
35
String useDocker = System .getenv ("USE_DOCKER_SERVICE" );
32
- System . out . println ("USE_DOCKER_SERVICE123: " + useDocker );
36
+ log . info ("USE_DOCKER_SERVICE123: " + useDocker );
33
37
if (useDocker != null ) {
34
- System . out . println ("useDocker.equalsIgnoreCase(true): " + useDocker .equalsIgnoreCase ("true" ));
38
+ log . info ("useDocker.equalsIgnoreCase(true): " + useDocker .equalsIgnoreCase ("true" ));
35
39
}
40
+ log .info ("new condition" + (useDocker == null || (useDocker != null && useDocker .equalsIgnoreCase ("true" ))));
36
41
Assumptions .assumeTrue (
37
- useDocker != null && useDocker .equalsIgnoreCase ("true" ),
42
+ useDocker == null || ( useDocker != null && useDocker .equalsIgnoreCase ("true" ) ),
38
43
"Skipping tests because USE_DOCKER_SERVICE is not set" );
39
44
}
40
45
You can’t perform that action at this time.
0 commit comments