]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
task: mon_clock_skew_check: use absolute value when comparing mon_skew
authorJoao Eduardo Luis <jecluis@gmail.com>
Wed, 30 Jan 2013 20:52:39 +0000 (20:52 +0000)
committerJoao Eduardo Luis <jecluis@gmail.com>
Wed, 30 Jan 2013 20:52:39 +0000 (20:52 +0000)
commita63fac32f859cd827814bd4bfce26a5f31cf97cf
treefde578f916ad509561d537d120ab6bd1f426c3c8
parent89e09fa90cdb5e3bf941bb74dc1ac42d9f5512c7
task: mon_clock_skew_check: use absolute value when comparing mon_skew

The monitors may report either positive or negative clock skews, and by
not using an absolute value we were constantly ignoring reported negative
clock skews.

Signed-off-by: Joao Eduardo Luis <jecluis@gmail.com>
teuthology/task/mon_clock_skew_check.py