From 4ef30e4fb84914f36dee99b90868575acdd03270 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sun, 31 Aug 2014 17:44:01 +0200 Subject: [PATCH] try to avoid race condition in other service updater test, increasing sleep time --- nsupdate/api/_tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsupdate/api/_tests/test_api.py b/nsupdate/api/_tests/test_api.py index 07b3e02..9b6e5f7 100644 --- a/nsupdate/api/_tests/test_api.py +++ b/nsupdate/api/_tests/test_api.py @@ -126,7 +126,7 @@ def test_nic_update_authorized_update_other_services(client): # must be good (was different IP) assert response.content == b'good 1.2.3.4' # test below was sometimes failing, give other service n seconds to process the update: - time.sleep(1.0) + time.sleep(10.0) # now check if it updated the other service also: assert query_ns(TEST_HOST_OTHER, 'A') == '1.2.3.4' response = client.get(reverse('nic_update') + '?myip=2.3.4.5',