From 5e82a6a2cd7a7e97f0344cd5b5a2bd88f2622d7f Mon Sep 17 00:00:00 2001 From: Alex Hornby Date: Wed, 3 Feb 2021 08:12:32 -0800 Subject: [PATCH] mononoke: reduce qps in test-walker-throttle.t Summary: This test was flaky in the oss builds due to completing slightly to fast. Update it prior to the switch to governor library. Reviewed By: krallin Differential Revision: D26173804 fbshipit-source-id: 24169b6ef045945448095fffb1f1d85c155705b8 --- eden/mononoke/tests/integration/test-walker-throttle.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eden/mononoke/tests/integration/test-walker-throttle.t b/eden/mononoke/tests/integration/test-walker-throttle.t index 9e30630e67..fdf1aa4513 100644 --- a/eden/mononoke/tests/integration/test-walker-throttle.t +++ b/eden/mononoke/tests/integration/test-walker-throttle.t @@ -26,7 +26,7 @@ Base case, check can walk fine Check reads throttle $ START_SECS=$(/bin/date "+%s") - $ mononoke_walker --blobstore-read-qps=5 -l loaded scrub -q -I deep -b master_bookmark 2>&1 | strip_glog + $ mononoke_walker --blobstore-read-qps=4 -l loaded scrub -q -I deep -b master_bookmark 2>&1 | strip_glog Seen,Loaded: 40,40 $ END_SECS=$(/bin/date "+%s") $ ELAPSED_SECS=$(( "$END_SECS" - "$START_SECS" )) @@ -40,7 +40,7 @@ Delete all data from one side of the multiplex Check writes throttle in Repair mode $ START_SECS=$(/bin/date "+%s") - $ mononoke_walker --blobstore-write-qps=5 -l loaded scrub -q --scrub-blobstore-action=Repair -I deep -b master_bookmark 2>&1 | strip_glog | sed -re 's/^(scrub: blobstore_id BlobstoreId.0. repaired for repo0000.).*/\1/' | uniq -c | sed 's/^ *//' + $ mononoke_walker --blobstore-write-qps=4 -l loaded scrub -q --scrub-blobstore-action=Repair -I deep -b master_bookmark 2>&1 | strip_glog | sed -re 's/^(scrub: blobstore_id BlobstoreId.0. repaired for repo0000.).*/\1/' | uniq -c | sed 's/^ *//' * scrub: blobstore_id BlobstoreId(0) repaired for repo0000. (glob) 1 Seen,Loaded: 40,40 $ END_SECS=$(/bin/date "+%s")