diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-12-04 19:04:52 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-12-04 19:04:52 +0100 |
commit | cad3394e9bf34fb6f3d45782a882a1019b5b843b (patch) | |
tree | bd6ed821b74786c7c69f81f176d4e2202bda49c4 /tests/end2end/fixtures/quteprocess.py | |
parent | 79e74efcf6c1e753ace4d4129d828f818dda5317 (diff) | |
download | qutebrowser-cad3394e9bf34fb6f3d45782a882a1019b5b843b.tar.gz qutebrowser-cad3394e9bf34fb6f3d45782a882a1019b5b843b.zip |
Use existing ON_CI constants
Diffstat (limited to 'tests/end2end/fixtures/quteprocess.py')
-rw-r--r-- | tests/end2end/fixtures/quteprocess.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py index 7ad739997..7d27e1166 100644 --- a/tests/end2end/fixtures/quteprocess.py +++ b/tests/end2end/fixtures/quteprocess.py @@ -691,7 +691,7 @@ class QuteProc(testprocess.Process): is_dl_inconsistency = str(self.captured_log[-1]).endswith( "_dl_allocate_tls_init: Assertion " "`listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' failed!") - if 'CI' in os.environ and is_dl_inconsistency: + if testutils.ON_CI and is_dl_inconsistency: # WORKAROUND for https://sourceware.org/bugzilla/show_bug.cgi?id=19329 self.captured_log = [] self._log("NOTE: Restarted after libc DL inconsistency!") @@ -809,7 +809,7 @@ class QuteProc(testprocess.Process): testprocess.WaitForTimeout)) if timeout is None: - if 'CI' in os.environ: + if testutils.ON_CI: timeout = 15000 else: timeout = 5000 |