make test: improve console output messages 28/7628/2
authorKlement Sekera <ksekera@cisco.com>
Tue, 18 Jul 2017 08:33:06 +0000 (10:33 +0200)
committerDamjan Marion <dmarion.lists@gmail.com>
Tue, 18 Jul 2017 20:52:47 +0000 (20:52 +0000)
Remove the word derp and replace it with a proper, more gramatically
correct message.

Change-Id: I04fd44cc67dace1a31ca48fc8ce67b246162ba79
Signed-off-by: Klement Sekera <ksekera@cisco.com>
test/framework.py

index 3c9dd29..fd493db 100644 (file)
@@ -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)" % (