()
| 147 | } |
| 148 | |
| 149 | private void stopAll() throws Exception { |
| 150 | for (var client : clients) |
| 151 | client.Stop(); |
| 152 | Thread.sleep(100); // 防止client断开连接的时候,下面的provider关闭太快执行异常。这个异常实际上无所谓。 |
| 153 | for (var server : servers) |
| 154 | server.stopBeforeModules(); |
| 155 | for (var server : servers) |
| 156 | server.Stop(); |
| 157 | for (var link : links) |
| 158 | link.Stop(); |
| 159 | loginQueue.stop(); |
| 160 | loginQueue = null; |
| 161 | } |
| 162 | |
| 163 | private static void testContent(TimerContext context) { |
| 164 | TestBean bean = (TestBean)context.customData; |
no test coverage detected