Nightly Distribution of the master branch
Build: #1843 was successful Changes by Guus der Kinderen
Code commits
Smack (master)
-
Guus der Kinderen 819ed87a178e71c6c40b70d6a5f079751337b51f
[sinttest] Wait for notification filter to propagate
The UserTuneIntegrationTest, in rapid succession:
- add a listener for PEP-published usertune data
- publishes a usertune
- waits for a notification to arrive
Implicit to adding the listener is the publication of a change in
Pubsub notification filtering. This can involve a stanza handshake,
as CAPS is involved.
A race condition exists where the usertune data can be published
before the notification filter has been properly applied.
The changes in this commit add a synchronzation point that ensures
that the notification filter is in place, before the usertune data
is published.
Co-authored-by: Paul Schaub <vanitasvitae@fsfe.org>- smack-integration-test/src/main/java/org/jivesoftware/smackx/geolocation/GeolocationIntegrationTest.java (version 819ed87a178e71c6c40b70d6a5f079751337b51f) (diffs)
- smack-integration-test/src/main/java/org/jivesoftware/smackx/mood/MoodIntegrationTest.java (version 819ed87a178e71c6c40b70d6a5f079751337b51f) (diffs)
- smack-integration-test/src/main/java/org/jivesoftware/smackx/usertune/UserTuneIntegrationTest.java (version 819ed87a178e71c6c40b70d6a5f079751337b51f) (diffs)