Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@
<version>2.22.1</version>
<configuration>
<!-- see: https://stackoverflow.com/questions/53010200/maven-surefire-could-not-find-forkedbooter-class -->
<argLine>-Xmx1024m -Xms1024m -XX:MaxPermSize=512m -Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
<argLine>-Xmx1024m -Xms1024m -Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.jcraft.jsch.Channel;
import com.jcraft.jsch.ChannelShell;
import com.jcraft.jsch.JSch;
import com.jcraft.jsch.Session;

Expand All @@ -62,7 +62,7 @@ public class SshClient implements AutoCloseable {

private final JSch jsch = new JSch();
private Session session;
private Channel channel;
private ChannelShell channel;
private InputStream stdout;
private InputStream stderr;

Expand Down Expand Up @@ -92,7 +92,9 @@ public PrintStream openShell() throws Exception {
session.setConfig(config);
session.connect();

channel = session.openChannel("shell");
channel = (ChannelShell) session.openChannel("shell");
channel.setPty(true);
channel.setPtyType("xterm", 200, 40, 1024, 768); // width=200 columns, height=40 rows, optional pixel size
stdout = channel.getInputStream();
stderr = channel.getExtInputStream();
channel.connect(timeout);
Expand Down
4 changes: 2 additions & 2 deletions smoke-test/src/main/resources/docker_fixed_images
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ kafka=confluentinc/cp-kafka:7.0.0
postgres=postgres:10.7-alpine
# Note this tag version should match the selenium version in the POM
selenium=selenium/standalone-chrome-debug:3.4.0
sentinel=opennms/sentinel:30.0.0
opennms=opennms/horizon:30.0.0
sentinel=opennms/sentinel:33.1.6
opennms=opennms/horizon:33.1.6