]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
teuthology/task/sleep: be explicit about seconds 1209/head
authorNathan Cutler <ncutler@suse.com>
Fri, 14 Sep 2018 10:42:41 +0000 (12:42 +0200)
committerNathan Cutler <ncutler@suse.com>
Sat, 15 Sep 2018 06:16:48 +0000 (08:16 +0200)
commitac41f82c1d7a82b203a7e5064c65fdb28ab02fa9
tree641034f29e8016a5c37f7a457161f90ef3eeca59
parent07c510a2feed181431eedad24c571ccf501ca95b
teuthology/task/sleep: be explicit about seconds

Add the word "seconds" at the end of the log message, since "time.sleep()"
takes a number which is always interpreted as the number of seconds to sleep
for.

Before this commit, the log said:

    INFO:teuthology.task.sleep:Sleeping for 10

After:

    INFO:teuthology.task.sleep:Sleeping for 10 seconds

Signed-off-by: Nathan Cutler <ncutler@suse.com>
teuthology/task/sleep.py