From f1ad4192829bb0ef9030ed2a96faeb645be81e0b Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Thu, 4 Oct 2012 16:50:42 -0700 Subject: [PATCH] qa: report success if race is not detected This test still verifies that the race is handled correctly if it occurs, but will no longer clutter test results with spurious failures when the race is not reproduced. Signed-off-by: Josh Durgin --- qa/workunits/rbd/watch_correct_version.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qa/workunits/rbd/watch_correct_version.sh b/qa/workunits/rbd/watch_correct_version.sh index 138fb2d918e1d..602cf619b67a3 100755 --- a/qa/workunits/rbd/watch_correct_version.sh +++ b/qa/workunits/rbd/watch_correct_version.sh @@ -27,4 +27,5 @@ done rbd rm test echo "No race detected" -exit 1 +echo OK +exit 0 -- 2.39.5