diff options
| author | Sergey Shepelev <temotor@gmail.com> | 2020-12-09 20:18:42 +0300 |
|---|---|---|
| committer | Sergey Shepelev <temotor@gmail.com> | 2020-12-13 20:45:47 +0300 |
| commit | e78cfe5d2916541a66e0320e63c09d59da901245 (patch) | |
| tree | 23ef5744507e2be20f3aff1f5c1b9749c5924d18 /tests | |
| parent | e68ea2062291e4a8eca513c0c4d063e7ada03625 (diff) | |
| download | eventlet-e78cfe5d2916541a66e0320e63c09d59da901245.tar.gz | |
replace Travis with Github (actions) CIgithub-ci
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/__init__.py b/tests/__init__.py index 82cd247..c0b64fd 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -232,10 +232,10 @@ def check_idle_cpu_usage(duration, allowed_part): utime = r2.ru_utime - r1.ru_utime stime = r2.ru_stime - r1.ru_stime - # This check is reliably unreliable on Travis, presumably because of CPU + # This check is reliably unreliable on Travis/Github Actions, presumably because of CPU # resources being quite restricted by the build environment. The workaround # is to apply an arbitrary factor that should be enough to make it work nicely. - if os.environ.get('TRAVIS') == 'true': + if os.environ.get('CI') == 'true': allowed_part *= 5 assert utime + stime < duration * allowed_part, \ |
