Wait 60 seconds for the server to hang up.

This commit is contained in:
akwizgran
2012-12-07 16:21:31 +00:00
parent ef8841e712
commit cdeefbbc5f

View File

@@ -29,8 +29,8 @@ public class HangupClientTest {
modem.start();
System.out.println("Dialling");
if(modem.dial(number)) {
System.out.println("Connected");
Thread.sleep(10 * 1000);
System.out.println("Connected, waiting for server to hang up");
Thread.sleep(60 * 1000);
} else {
System.out.println("Did not connect");
}