mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-24 11:38:00 +01:00
[sinttest] Add error message to subscribe request failure
Have a descriptive error message when a subscription request times out.
This commit is contained in:
parent
38c6dd21b4
commit
4f840d1066
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ public class IntegrationTestRosterUtil {
|
|||
try {
|
||||
presenceRequestingRoster.sendSubscriptionRequest(presenceRequestReceiverAddress.asBareJid());
|
||||
|
||||
syncPoint.waitForResult(timeout);
|
||||
syncPoint.waitForResult(timeout, "Timeout while waiting for subscription request of '" + presenceRequestingAddress + "' to '" + presenceRequestReceiverAddress + "' to be answered.");
|
||||
} finally {
|
||||
presenceRequestReceiverRoster.removeSubscribeListener(subscribeListener);
|
||||
presenceRequestingRoster.removePresenceEventListener(presenceEventListener);
|
||||
|
|
Loading…
Reference in a new issue