Browse Source

Merge "Fix timestamp race occurring on fast systems"

tags/3.10.2
Zuul 6 days ago
parent
commit
b98f1d28cb
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tests/unit/test_client.py

+ 1
- 1
tests/unit/test_client.py View File

@@ -147,5 +147,5 @@ class TestWebTokenClient(BaseClientTestCase):
147 147
         admin_tenants = token.get('zuul', {}).get('admin', [])
148 148
         self.assertTrue('tenant_one' in admin_tenants, admin_tenants)
149 149
         # allow one minute for the process to run
150
-        self.assertTrue(600 <= int(token['exp']) - now < 660,
150
+        self.assertTrue(580 <= int(token['exp']) - now < 660,
151 151
                         (token['exp'], now))

Loading…
Cancel
Save