diff options
Diffstat (limited to 'test/framework.py')
-rw-r--r-- | test/framework.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/framework.py b/test/framework.py index 3c9dd29af0c..fd493db36de 100644 --- a/test/framework.py +++ b/test/framework.py @@ -654,9 +654,9 @@ class VppTestCase(unittest.TestCase): time.sleep(timeout) after = time.time() if after - before > 2 * timeout: - cls.logger.error( - "time.sleep() derp! slept for %ss instead of ~%ss!" % ( - after - before, timeout)) + cls.logger.error("unexpected time.sleep() result - " + "slept for %ss instead of ~%ss!" % ( + after - before, timeout)) if hasattr(cls, 'logger'): cls.logger.debug( "Finished sleep (%s) - slept %ss (wanted %ss)" % ( |