Smack/smack-integration-test/src/main/java/org/jivesoftware/smackx/mood
Guus der Kinderen 819ed87a17 [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>
2021-12-12 18:13:31 +01:00
..
MoodIntegrationTest.java [sinttest] Wait for notification filter to propagate 2021-12-12 18:13:31 +01:00
package-info.java SMACK-828: Add support for XEP-0107: User Mood 2018-11-11 16:13:41 +01:00