mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
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
This commit is contained in:
parent
e3124a43d2
commit
5e82a6a2cd
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user