diff options
author | Jakub Stasiak <jakub@stasiak.at> | 2016-01-23 01:47:45 +0100 |
---|---|---|
committer | Jakub Stasiak <jakub@stasiak.at> | 2016-01-23 01:47:45 +0100 |
commit | 8d6a5887878dd2dad516b6ddaa982ac96e0895ae (patch) | |
tree | c93b2498f6630cab4f270e6b01666c9356b67e34 | |
parent | 961d0d65853614e4b26e581f540ef9c81e7e53c2 (diff) | |
download | eventlet-jakub.tar.gz |
-rw-r--r-- | tests/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/__init__.py b/tests/__init__.py index b029fca..f0992f4 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -216,6 +216,7 @@ def check_idle_cpu_usage(duration, allowed_part): if os.environ.get('TRAVIS') == 'true': allowed_part *= 1.2 + import pprint; pprint.pprint(os.environ) assert utime + stime < duration * allowed_part, \ "CPU usage over limit: user %.0f%% sys %.0f%% allowed %.0f%%" % ( utime / duration * 100, stime / duration * 100, |