From: Sage Weil Date: Sun, 14 Jan 2018 16:35:14 +0000 (-0600) Subject: qa/workunits/rados/test_rados_tool: remove stray |, fix race X-Git-Tag: v13.0.2~526^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F19946%2Fhead;p=ceph.git qa/workunits/rados/test_rados_tool: remove stray |, fix race Fixes: http://tracker.ceph.com/issues/22676 Signed-off-by: Sage Weil --- diff --git a/qa/workunits/rados/test_rados_tool.sh b/qa/workunits/rados/test_rados_tool.sh index 6566fdbfd18f..3640eb03e1b8 100755 --- a/qa/workunits/rados/test_rados_tool.sh +++ b/qa/workunits/rados/test_rados_tool.sh @@ -304,7 +304,7 @@ test_omap() { $RADOS_TOOL -p $POOL rmomapkey $OBJ $i done $RADOS_TOOL -p $POOL listomapvals $OBJ | grep -c value | grep 5 - $RADOS_TOOL -p $POOL clearomap $OBJ | + $RADOS_TOOL -p $POOL clearomap $OBJ $RADOS_TOOL -p $POOL listomapvals $OBJ | wc -l | grep 0 cleanup