Interrupted thread before logging (#3563)

This commit is contained in:
ramansahasi
2018-02-01 02:36:16 +05:30
committed by maibin
parent 43a4d08c36
commit 3e4b6df194
4 changed files with 6 additions and 3 deletions

View File

@@ -57,7 +57,8 @@ public class NetworkIntegrationTest {
sender.join();
receiver.join();
} catch (InterruptedException e) {
e.printStackTrace();
Thread.currentThread().interrupt();
System.out.println("Thread Interrupted");
}
assertEquals(expected, outContent.toString());