1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 10:37:59 +01:00

[sinttest] Add header to NotAllMessagesReceivedException

This header maps the internal connection ID to the connection.
This commit is contained in:
Florian Schmaus 2021-03-15 19:22:57 +01:00
parent f91598e10c
commit 11a486d84d

View file

@ -282,6 +282,7 @@ public class XmppConnectionStressTest {
XMPPConnection connection = connections.get(i); XMPPConnection connection = connections.get(i);
EntityFullJid connectionAddress = connection.getUser(); EntityFullJid connectionAddress = connection.getUser();
connectionIds.put(connectionAddress, i); connectionIds.put(connectionAddress, i);
sb.append(i).append(": ").append(connection).append('\n');
} }
for (Map.Entry<XMPPConnection, Map<EntityFullJid, boolean[]>> entry : receiveMarkers.entrySet()) { for (Map.Entry<XMPPConnection, Map<EntityFullJid, boolean[]>> entry : receiveMarkers.entrySet()) {