提交 f7817e53 编写于 作者: J jglick

[HUDSON-2721] Trying to help diagnose test hang.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13538 71c3de6d-444a-0410-be80-ed276b4c234a
上级 b7a14b7a
......@@ -26,8 +26,11 @@ public class JNLPLauncherTest extends HudsonTestCase {
* Starts a JNLP slave agent and makes sure it successfully connects to Hudson.
*/
public void testLaunch() throws Exception {
if(Boolean.getBoolean("java.awt.headless"))
return; // skip this test in the headless mode because we don't have GUI
if(Boolean.getBoolean("java.awt.headless")) {
System.err.println("Skipping JNLPLauncherTest.testLaunch because we are running headless");
return;
}
System.err.println("Not in headless mode, continuing with JNLPLauncherTest.testLaunch...");
Computer c = addTestSlave();
launchJnlpAndVerify(c, buildJnlpArgs(c));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册