Update src/Coordination/tests/gtest_coordination.cpp

Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
This commit is contained in:
Aleksei Filatov 2023-04-11 10:45:30 +03:00 committed by GitHub
parent e8bf96d126
commit dd2364361c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1672,7 +1672,7 @@ TEST_P(CoordinationTest, TestSetACLWithAuthSchemeForAclWhenAuthIsPrecommitted)
// commit all entries // commit all entries
state_machine->commit(1, auth_entry->get_buf()); state_machine->commit(1, auth_entry->get_buf());
state_machine->commit(2, create_entry->get_buf()); state_machine->commit(2, create_entry->get_buf());
state_machine->commit(2, set_acl_entry->get_buf()); state_machine->commit(3, set_acl_entry->get_buf());
const auto & uncommitted_state = state_machine->getStorage().uncommitted_state; const auto & uncommitted_state = state_machine->getStorage().uncommitted_state;
auto node = uncommitted_state.getNode(node_path); auto node = uncommitted_state.getNode(node_path);