Refactor UDPTest
This commit is contained in:
parent
99f2ae6a32
commit
24ee4fb35c
@ -29,7 +29,11 @@ public class UDPTest {
|
|||||||
|
|
||||||
@After
|
@After
|
||||||
public void tearDown() {
|
public void tearDown() {
|
||||||
client.sendEcho("end");
|
stopEchoServer();
|
||||||
client.close();
|
client.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void stopEchoServer() {
|
||||||
|
client.sendEcho("end");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user