mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 19:25:52 +08:00
Merge pull request #11523 from hfu94/metric
lower the sample rate of client metric in simulation
This commit is contained in:
commit
d1333dd1a1
@ -212,8 +212,8 @@ struct ClientMetricWorkload : TestWorkload {
|
||||
// vs2 should be strictly larger than vs1, to verify new latency metrics are added
|
||||
ACTOR Future<Void> runner(Database cx, ClientMetricWorkload* self) {
|
||||
try {
|
||||
state int initialWrites = deterministicRandom()->randomInt(1, 5);
|
||||
state int secondWrites = deterministicRandom()->randomInt(1, 5);
|
||||
state int initialWrites = deterministicRandom()->randomInt(100, 200);
|
||||
state int secondWrites = deterministicRandom()->randomInt(100, 200);
|
||||
|
||||
state uint64_t zeroVS = 0;
|
||||
state uint64_t vs1 = wait(self->writeKeysAndGetLatencyVersion(cx, self, initialWrites, zeroVS));
|
||||
|
@ -4,17 +4,14 @@ tenantModes = ['disabled']
|
||||
[[test]]
|
||||
testTitle='ClientMetricRestartTest'
|
||||
clearAfterTest=false
|
||||
waitForQuiescenceEnd=false
|
||||
|
||||
[[test.workload]]
|
||||
testName='ClientMetric'
|
||||
toSet=true
|
||||
samplingProbability=1.0
|
||||
samplingProbability=0.01
|
||||
testDuration=500.0
|
||||
|
||||
[[test.workload]]
|
||||
testName='RandomClogging'
|
||||
testDuration=30.0
|
||||
|
||||
[[test.workload]]
|
||||
testName='SaveAndKill'
|
||||
restartInfoLocation='simfdb/restartInfo.ini'
|
||||
|
@ -1,12 +1,10 @@
|
||||
[[test]]
|
||||
testTitle='ClientMetricRestartTest'
|
||||
clearAfterTest=false
|
||||
waitForQuiescenceEnd=false
|
||||
runConsistencyCheck=false
|
||||
|
||||
[[test.workload]]
|
||||
testName='ClientMetric'
|
||||
toSet=false
|
||||
testDuration=500.0
|
||||
|
||||
[[test.workload]]
|
||||
testName='RandomClogging'
|
||||
testDuration=500.0
|
@ -4,17 +4,14 @@ tenantModes = ['disabled']
|
||||
[[test]]
|
||||
testTitle='ClientMetricRestartTest'
|
||||
clearAfterTest=false
|
||||
waitForQuiescenceEnd=false
|
||||
|
||||
[[test.workload]]
|
||||
testName='ClientMetric'
|
||||
toSet=true
|
||||
samplingProbability=1.0
|
||||
samplingProbability=0.01
|
||||
testDuration=500.0
|
||||
|
||||
[[test.workload]]
|
||||
testName='RandomClogging'
|
||||
testDuration=30.0
|
||||
|
||||
[[test.workload]]
|
||||
testName='SaveAndKill'
|
||||
restartInfoLocation='simfdb/restartInfo.ini'
|
||||
|
@ -1,12 +1,10 @@
|
||||
[[test]]
|
||||
testTitle='ClientMetricRestartTest'
|
||||
clearAfterTest=false
|
||||
waitForQuiescenceEnd=false
|
||||
runConsistencyCheck=false
|
||||
|
||||
[[test.workload]]
|
||||
testName='ClientMetric'
|
||||
toSet=false
|
||||
testDuration=500.0
|
||||
|
||||
[[test.workload]]
|
||||
testName='RandomClogging'
|
||||
testDuration=500.0
|
Loading…
x
Reference in New Issue
Block a user