Merge pull request #11523 from hfu94/metric

lower the sample rate of client metric in simulation
This commit is contained in:
Jingyu Zhou 2024-07-22 10:46:51 -07:00 committed by GitHub
commit d1333dd1a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 10 additions and 20 deletions

View File

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

View File

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

View File

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

View File

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

View File

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