diff options
author | Craig Citro <craigcitro@gmail.com> | 2014-12-17 18:26:56 -0800 |
---|---|---|
committer | Craig Citro <craigcitro@gmail.com> | 2014-12-17 18:26:56 -0800 |
commit | fb57ec4269f5a7511e0245bafd575641dea901f4 (patch) | |
tree | 1b131a15df3c848c15cf1a97ab9f7820697733d4 /tests/test_service_account.py | |
parent | f8eec98a506277083f66588fc9ffc37e22484013 (diff) | |
download | oauth2client-fb57ec4269f5a7511e0245bafd575641dea901f4.tar.gz |
Fix some test flakiness (in a second place).
Diffstat (limited to 'tests/test_service_account.py')
-rw-r--r-- | tests/test_service_account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_service_account.py b/tests/test_service_account.py index 4b9dce9..5d1a125 100644 --- a/tests/test_service_account.py +++ b/tests/test_service_account.py @@ -114,7 +114,7 @@ class ServiceAccountCredentialsTests(unittest.TestCase): self.assertFalse(self.credentials.access_token_expired) self.assertEqual(token_response_first, self.credentials.token_response) - time.sleep(S) + time.sleep(S + 0.5) # some margin to avoid flakiness self.assertTrue(self.credentials.access_token_expired) token = self.credentials.get_access_token(http=http) |