Skip to content

Commit ed3fa79

Browse files
committed
Manually start the worker
1 parent 149c15a commit ed3fa79

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

temporal-spring-boot-autoconfigure/src/test/java/io/temporal/spring/boot/autoconfigure/WorkerVersioningTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ void setUp() {
4444
@Test
4545
@Timeout(value = 10)
4646
public void testAutoDiscovery() {
47+
// Manually start the worker because we disable automatic worker start, due to
48+
// automatic worker start running prior to the docker check, which causes namespace
49+
// errors when running in-mem unit tests
4750
WorkerFactory workerFactory = applicationContext.getBean(WorkerFactory.class);
4851
workerFactory.start();
4952

0 commit comments

Comments
 (0)