Skip to content

Commit

Permalink
qa: fix mdstable script for proper injectargs use.
Browse files Browse the repository at this point in the history
This script is fairly primitive, but somebody might find it useful...

Signed-off-by: Greg Farnum <[email protected]>
  • Loading branch information
gregsfortytwo committed Jan 5, 2012
1 parent 61c3a91 commit c8a13f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/mds/test_mdstable_failures.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
for f in `seq 1 8`
do
echo testing failure point $f
pushd . ; cd $bindir ; ./ceph -c $conf mds injectargs 0 "--mds_kill_mdstable_at $f" ; popd
pushd . ; cd $bindir ; ./ceph -c $conf mds tell \* injectargs "--mds_kill_mdstable_at $f" ; popd
sleep 1 # wait for mds command to go thru
bash -c "pushd . ; cd $bindir ; sleep 10 ; ./init-ceph -c $conf start mds ; popd" &
touch $f
Expand Down

0 comments on commit c8a13f2

Please sign in to comment.