Fix build

This commit is contained in:
Antonio Andelic 2024-09-17 13:14:42 +02:00 committed by GitHub
parent ecd2b194c2
commit bbb15f92a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2207,17 +2207,13 @@ TEST_P(CoordinationTest, TestMultiRequestWithNoAuth)
ChangelogDirTest snapshots("./snapshots");
this->setSnapshotDirectory("./snapshots");
using Storage = typename TestFixture::Storage;
ChangelogDirTest rocks("./rocksdb");
this->setRocksDBDirectory("./rocksdb");
ResponsesQueue queue(std::numeric_limits<size_t>::max());
SnapshotsQueue snapshots_queue{1};
int64_t session_without_auth = 1;
int64_t session_with_auth = 2;
size_t term = 0;
auto state_machine = std::make_shared<KeeperStateMachine<Storage>>(queue, snapshots_queue, this->keeper_context, nullptr);
auto state_machine = std::make_shared<KeeperStateMachine>(queue, snapshots_queue, keeper_context, nullptr);
state_machine->init();
auto & storage = state_machine->getStorageUnsafe();