try to fix flaky test

dbus-notify
Zlatin Balevsky 2022-04-13 17:23:38 +01:00
parent e5a1cbaaf2
commit 3d7365144b
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class TrustServiceTest {
persistBad.append("{ \"persona\" : \"${personas.persona2.toBase64()}\", \"reason\",\"bad\"}\n")
service = new TrustService(persistGood, persistBad)
service.start()
Thread.sleep(50)
service.waitForLoad()
assert TrustLevel.TRUSTED == service.getLevel(personas.persona1.destination)
assert TrustLevel.DISTRUSTED == service.getLevel(personas.persona2.destination)