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