File tree Expand file tree Collapse file tree
itests/test/src/test/java/org/apache/karaf/itests/ssh Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 */
1414package org .apache .karaf .itests .ssh ;
1515
16+ import org .junit .Assume ;
1617import org .junit .Test ;
1718import org .junit .runner .RunWith ;
1819import org .ops4j .pax .exam .junit .PaxExam ;
@@ -32,6 +33,11 @@ public class BundleSshCommandSecurityTest extends SshCommandTestBase {
3233
3334 @ Test
3435 public void testBundleCommandSecurityViaSsh () throws Exception {
36+ // Skip on Windows where PTY output can be garbled,
37+ // when upgrading to Junit5, this can be replaced with @DisabledOnOs(OS.WINDOWS)
38+ // TODO: remove this once we have a better solution for PTY output on Windows
39+ Assume .assumeFalse (System .getProperty ("os.name" , "" ).toLowerCase ().contains ("win" ));
40+
3541 String manageruser = "man" + System .nanoTime () + "_" + counter ++;
3642 String vieweruser = "view" + System .nanoTime () + "_" + counter ++;
3743
You can’t perform that action at this time.
0 commit comments