Skip to content
Draft
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
3 changes: 0 additions & 3 deletions src/main/java/com/veertu/plugin/anka/AbstractAnkaSlave.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ public Computer createComputer() {

public void terminate() throws IOException {
try {
Thread.sleep(3000); // Sleep for 3 seconds to avoid those spooky ChannelClosedException
AnkaVmInstance vm = getAndLogInstance();
if (vm != null) {
LOGGER.log(Level.INFO, "Node {0} Instance {1} is in state {2}", new Object[]{getNodeName(), instanceId, vm.getSessionState()});
Expand All @@ -133,8 +132,6 @@ public void terminate() throws IOException {
}
} catch (AnkaMgmtException e) {
throw new IOException(e);
} catch (InterruptedException e) {
e.printStackTrace();
} finally {
try {
if (this.instanceId != null) {
Expand Down