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 <ksekera@cisco.com>
This commit is contained in:
Klement Sekera
2017-07-18 10:33:06 +02:00
committed by Damjan Marion
parent 57b5860f01
commit 60c1223acb

View 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)" % (