Smack/smack-integration-test/src/main/java/org/jivesoftware/smackx
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
..
caps [checkstyle] Tighten JavadocMethod checkstyle rule 2020-05-23 22:43:29 +02:00
chatstate Bump Error Prone version to 2.3.4 and fix new bug patterns 2020-05-24 21:10:01 +02:00
filetransfer [sinttest] Call OutgoingFiletransfer.getException() in case of error 2021-03-14 17:57:13 +01:00
geolocation [sinttest] Wait for notification filter to propagate 2021-12-12 18:13:31 +01:00
httpfileupload [core] Rework TLS logic 2020-05-25 15:41:57 +02:00
iot sinttest: migrate to JUnit5, drop JUnit4 2020-04-12 22:21:30 +02:00
iqversion sinttest: migrate to JUnit5, drop JUnit4 2020-04-12 22:21:30 +02:00
mam SINT: MAM test does not require XEP-0441 2021-04-01 13:13:42 +02:00
mood [sinttest] Wait for notification filter to propagate 2021-12-12 18:13:31 +01:00
muc [sinttest] Add "compatibility mode" setting 2021-08-22 16:16:03 +02:00
omemo [omemo] Add OmemoManager.purgeEveryting() 2021-07-06 12:31:47 +02:00
ox [openpgp] Remove INFO log sites 2021-05-02 18:45:25 +02:00
ox_im [openpgp] Remove INFO log sites 2021-05-02 18:45:25 +02:00
ping sinttest: migrate to JUnit5, drop JUnit4 2020-04-12 22:21:30 +02:00
pubsub Re-work data form API 2020-05-13 20:14:41 +02:00
softwareInfo [sinttest] Add unreliable workaround for XEP-0030 based operations 2020-05-22 15:44:23 +02:00
usertune [sinttest] Wait for notification filter to propagate 2021-12-12 18:13:31 +01:00
xdata Re-work data form API 2020-05-13 20:14:41 +02:00
package-info.java Make "duplicate" package-info.java files symbolic links 2019-09-01 23:13:20 +02:00