Mercurial > stress-tester
changeset 1204:35209b169bcf
SimpleDatagramServer minor
author | Devel 2 |
---|---|
date | Mon, 22 Jun 2020 14:00:31 +0200 |
parents | 923bd043006e |
children | e9de75b31683 |
files | stress-tester/src/test/java/com/passus/st/utils/server/SimpleDatagramServer.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester/src/test/java/com/passus/st/utils/server/SimpleDatagramServer.java Mon Jun 22 13:47:11 2020 +0200 +++ b/stress-tester/src/test/java/com/passus/st/utils/server/SimpleDatagramServer.java Mon Jun 22 14:00:31 2020 +0200 @@ -92,7 +92,7 @@ decode(packet.getData(), packet.getOffset(), packet.getLength(), context); } } catch (SocketException e) { - if (e.getMessage().contains("socket closed")) { + if (e.getMessage().toLowerCase().contains("socket closed")) { break; }