qa/workunits/rados/test_rados_tool: remove stray |, fix race

Fixes: http://tracker.ceph.com/issues/22676
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2018-01-14 10:35:14 -06:00
parent ea2c99ec87
commit ff9fa835da

View File

@ -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