提交 e63734f2 编写于 作者: K kohsuke

dump the slave launch log so that we can see why it failed to go online.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21306 71c3de6d-444a-0410-be80-ed276b4c234a
上级 faaf1853
......@@ -93,7 +93,10 @@ public class JNLPLauncherTest extends HudsonTestCase {
break;
}
assertFalse("Slave failed to go online", c.isOffline());
if (c.isOffline()) {
System.out.println(c.getLog());
fail("Slave failed to go online");
}
// run some trivial thing
System.err.println("Calling task...");
assertEquals("done", c.getChannel().callAsync(new NoopTask()).get(5, TimeUnit.MINUTES));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册