From 60c1223acb21d9cc5925b14da3cb186155941624 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Tue, 18 Jul 2017 10:33:06 +0200 Subject: make test: improve console output messages Remove the word derp and replace it with a proper, more gramatically correct message. Change-Id: I04fd44cc67dace1a31ca48fc8ce67b246162ba79 Signed-off-by: Klement Sekera --- test/framework.py | 6 +++--- 1 file 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)" % ( -- cgit 1.2.3-korg