Merge pull request #11492 from apple/tlogtestbug

Disable TestTLogServer unit tests
This commit is contained in:
Jingyu Zhou 2024-07-08 21:38:01 -07:00 committed by GitHub
commit bc5e866dc2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 11 deletions

View File

@ -335,6 +335,8 @@ ACTOR Future<Void> startTestsTLogRecoveryActors(TestTLogOptions params) {
state Reference<TLogTestContext> pTLogTestContextEpochOne =
initTLogTestContext(params, Optional<Reference<TLogTestContext>>());
FlowTransport::createInstance(false, 1, WLTOKEN_RESERVED_COUNT);
state uint16_t tLogIdx = 0;
TraceEvent("TestTLogServerEnterRecoveryTest");
@ -411,15 +413,15 @@ ACTOR Future<Void> startTestsTLogRecoveryActors(TestTLogOptions params) {
return Void();
}
TEST_CASE("/fdbserver/test/TestTLogCommits") {
TestTLogOptions testTLogOptions(params);
testTLogOptions.recover = 0;
wait(startTestsTLogRecoveryActors(testTLogOptions));
return Void();
}
// TEST_CASE("/fdbserver/test/TestTLogCommits") {
// TestTLogOptions testTLogOptions(params);
// testTLogOptions.recover = 0;
// wait(startTestsTLogRecoveryActors(testTLogOptions));
// return Void();
// }
TEST_CASE("/fdbserver/test/TestTLogRecovery") {
TestTLogOptions testTLogOptions(params);
wait(startTestsTLogRecoveryActors(testTLogOptions));
return Void();
}
// TEST_CASE("/fdbserver/test/TestTLogRecovery") {
// TestTLogOptions testTLogOptions(params);
// wait(startTestsTLogRecoveryActors(testTLogOptions));
// return Void();
// }