From: Klement Sekera Date: Tue, 18 Jul 2017 08:33:06 +0000 (+0200) Subject: make test: improve console output messages X-Git-Tag: v17.10-rc1~333 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=60c1223acb21d9cc5925b14da3cb186155941624 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 --- 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)" % (