Add 2 separate restarting tests, for 7.1 and 7.3

This commit is contained in:
hao fu 2024-07-11 16:25:23 +08:00
parent 539bcc56fc
commit c0ce3b4fae
6 changed files with 37 additions and 6 deletions

View File

@ -167,7 +167,7 @@ struct ClientMetricWorkload : TestWorkload {
TraceEvent(SevError, "ClientMetricErrorWhenWriteKeys").error(e);
throw;
}
std::cerr << "writeRandomKeys finish, written=" << cnt << std::endl;
std::cout << "writeRandomKeys finish, written=" << cnt << std::endl;
return Void();
}

View File

@ -323,9 +323,6 @@ if(WITH_PYTHON)
add_fdb_test(
TEST_FILES restarting/from_7.0.0_until_7.1.0/UpgradeAndBackupRestore-1.toml
restarting/from_7.0.0_until_7.1.0/UpgradeAndBackupRestore-2.toml)
add_fdb_test(
TEST_FILES restarting/from_7.1.0_until_7.2.0/ClientMetricRestart-1.toml
restarting/from_7.1.0_until_7.2.0/ClientMetricRestart-2.toml)
add_fdb_test(
TEST_FILES restarting/from_7.1.0_until_7.2.0/ConfigureTestRestart-1.toml
restarting/from_7.1.0_until_7.2.0/ConfigureTestRestart-2.toml)
@ -344,6 +341,9 @@ if(WITH_PYTHON)
add_fdb_test(
TEST_FILES restarting/from_7.1.0_until_7.2.0/VersionVectorEnableRestart-1.toml
restarting/from_7.1.0_until_7.2.0/VersionVectorEnableRestart-2.toml IGNORE)
add_fdb_test(
TEST_FILES restarting/from_7.1.63_until_7.2.0/ClientMetricRestart-1.toml
restarting/from_7.1.63_until_7.2.0/ClientMetricRestart-2.toml)
add_fdb_test(
TEST_FILES restarting/from_7.2.0_until_7.3.0/ConfigureTestRestart-1.toml
restarting/from_7.2.0_until_7.3.0/ConfigureTestRestart-2.toml)
@ -401,6 +401,9 @@ if(WITH_PYTHON)
add_fdb_test(
TEST_FILES restarting/from_7.3.0/SnapTestRestart-1.toml
restarting/from_7.3.0/SnapTestRestart-2.toml)
add_fdb_test(
TEST_FILES restarting/from_7.3.49/ClientMetricRestart-1.toml
restarting/from_7.3.49/ClientMetricRestart-2.toml)
add_fdb_test(
TEST_FILES restarting/from_7.3.0/ClientTransactionProfilingCorrectness-1.toml
restarting/from_7.3.0/ClientTransactionProfilingCorrectness-2.toml)

View File

@ -7,7 +7,6 @@ clearAfterTest=false
toSet=true
samplingProbability=1.0
testDuration=500.0
trInfoSizeLimit=177654
[[test.workload]]
testName='RandomClogging'

View File

@ -6,7 +6,6 @@ clearAfterTest=false
testName='ClientMetric'
toSet=false
testDuration=500.0
trInfoSizeLimit=199123
[[test.workload]]
testName='RandomClogging'

View File

@ -0,0 +1,18 @@
[[test]]
testTitle='ClientMetricRestartTest'
clearAfterTest=false
[[test.workload]]
testName='ClientMetric'
toSet=true
samplingProbability=1.0
testDuration=500.0
[[test.workload]]
testName='RandomClogging'
testDuration=30.0
[[test.workload]]
testName='SaveAndKill'
restartInfoLocation='simfdb/restartInfo.ini'
testDuration=500.0

View File

@ -0,0 +1,12 @@
[[test]]
testTitle='ClientMetricRestartTest'
clearAfterTest=false
[[test.workload]]
testName='ClientMetric'
toSet=false
testDuration=500.0
[[test.workload]]
testName='RandomClogging'
testDuration=500.0