diff options
author | Richard van der Hoff <github@rvanderhoff.org.uk> | 2018-01-27 18:20:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-27 18:20:55 +0100 |
commit | 2186d7c06ee0c4b200b4567c7848cca434444fc4 (patch) | |
tree | d6e87eb8800eafd86502295fb8c3164b0f32a14e /tests/crypto/test_keyring.py | |
parent | Merge pull request #2828 from matrix-org/rav/kill_memory_datastore (diff) | |
parent | Make it possible to run tests against postgres (diff) | |
download | synapse-2186d7c06ee0c4b200b4567c7848cca434444fc4.tar.xz |
Merge pull request #2829 from matrix-org/rav/postgres_in_tests
Make it possible to run tests against postgres
Diffstat (limited to 'tests/crypto/test_keyring.py')
-rw-r--r-- | tests/crypto/test_keyring.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/crypto/test_keyring.py b/tests/crypto/test_keyring.py index c899fecf5d..d4ec02ffc2 100644 --- a/tests/crypto/test_keyring.py +++ b/tests/crypto/test_keyring.py @@ -167,7 +167,7 @@ class KeyringTestCase(unittest.TestCase): # wait a tick for it to send the request to the perspectives server # (it first tries the datastore) - yield async.sleep(0.005) + yield async.sleep(1) # XXX find out why this takes so long! self.http_client.post_json.assert_called_once() self.assertIs(LoggingContext.current_context(), context_11) @@ -183,7 +183,7 @@ class KeyringTestCase(unittest.TestCase): res_deferreds_2 = kr.verify_json_objects_for_server( [("server10", json1)], ) - yield async.sleep(0.005) + yield async.sleep(01) self.http_client.post_json.assert_not_called() res_deferreds_2[0].addBoth(self.check_context, None) |