提交 87edd429 编写于 作者: J Jesse Glick

Fix test failure.

上级 f3304cb5
......@@ -116,7 +116,7 @@ public class ClientAuthenticationCacheTest {
}
private void assertCLI(int code, @CheckForNull String output, File jar, String... args) throws Exception {
List<String> commands = Lists.newArrayList("java", "-jar", jar.getAbsolutePath(), "-s", r.getURL().toString(), "-noKeyAuth");
List<String> commands = Lists.newArrayList("java", "-jar", jar.getAbsolutePath(), "-s", r.getURL().toString(), "-noKeyAuth", "-remoting");
commands.addAll(Arrays.asList(args));
ByteArrayOutputStream baos = new ByteArrayOutputStream();
assertEquals(code, new Launcher.LocalLauncher(StreamTaskListener.fromStderr()).launch().cmds(commands).stdout(new TeeOutputStream(System.out, baos)).stderr(System.err).join());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册