8081828384858687888990
Assert.assertEquals(mgr.getSessions().size(), 0); Thread t = new Thread(new Runnable() { @Override public void run() { try { mgr.stopGracefully(); } catch (InterruptedException e) { e.printStackTrace(); } } });
116117118119120121122123124125126
Thread t = new Thread(new Runnable() { @Override public void run() { try { mgr.stopGracefully(); } catch (InterruptedException e) { e.printStackTrace(); } } });
154155156157158159160161162163164
Assert.assertEquals(mgr.getSessions().size(), 1); Thread t = new Thread(new Runnable() { @Override public void run() { try { mgr.stopGracefully(); } catch (InterruptedException e) { e.printStackTrace(); } } });