Browse Source

Merge "Fix timestamp race occurring on fast systems"

tags/3.10.2
Zuul 5 months 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):
admin_tenants = token.get('zuul', {}).get('admin', [])
self.assertTrue('tenant_one' in admin_tenants, admin_tenants)
# allow one minute for the process to run
self.assertTrue(600 <= int(token['exp']) - now < 660,
self.assertTrue(580 <= int(token['exp']) - now < 660,
(token['exp'], now))

Loading…
Cancel
Save