whitelowrie commented on issue #4175:
URL:
https://github.com/apache/incubator-dolphinscheduler/issues/4175#issuecomment-740350496
Please use english!!!
and you can write the test like this before you configured correctly
`@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes={DependencyConfig.class,
SpringApplicationContext.class, SpringZKServer.class,
NettyExecutorManager.class, ExecutorDispatcher.class,
ZookeeperRegistryCenter.class, TaskPriorityQueueConsumer.class,
ZookeeperNodeManager.class, ZookeeperCachedOperator.class,
ZookeeperConfig.class, MasterConfig.class})
public class MyTest {
@Autowired
private ProcessService processService = null;
@Test
public void test01(){
System.out.println(processService);
}
}`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]