From 9dd8ce8ce1e9c0fd1335eab60b6b7f89cbb0e96e Mon Sep 17 00:00:00 2001 From: missytake Date: Wed, 4 Mar 2026 18:03:48 +0100 Subject: [PATCH] tests: make sure chatmail-metadata was started fix a flaky test: https://github.com/chatmail/relay/pull/856#issuecomment-3919881473 since #856 chatmail-metadata is restarted every 5 second, if it didn't come up after that, the failure likely sits deeper. --- cmdeploy/src/cmdeploy/tests/online/test_2_deltachat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cmdeploy/src/cmdeploy/tests/online/test_2_deltachat.py b/cmdeploy/src/cmdeploy/tests/online/test_2_deltachat.py index 0c61412c..53e3846a 100644 --- a/cmdeploy/src/cmdeploy/tests/online/test_2_deltachat.py +++ b/cmdeploy/src/cmdeploy/tests/online/test_2_deltachat.py @@ -27,6 +27,7 @@ class TestMetadataTokens: def test_set_get_metadata(self, imap_mailbox): "set and get metadata token for an account" + time.sleep(5) # make sure Metadata service had a chance to restart client = imap_mailbox.client client.send(b'a01 SETMETADATA INBOX (/private/devicetoken "1111" )\n') res = client.readline()