From 4aeeb47e405771fc081f29f5fc3ec28aa9ffc569 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 6 Jan 2010 17:01:50 +0000 Subject: Added config-seq counter to track config changes since cluster init. Config-seq is recorded persitently to help identify best store when recovering from total failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@896538 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/InitialStatusMap.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'qpid/cpp/src/tests/InitialStatusMap.cpp') diff --git a/qpid/cpp/src/tests/InitialStatusMap.cpp b/qpid/cpp/src/tests/InitialStatusMap.cpp index 82450eac22..63214ee395 100644 --- a/qpid/cpp/src/tests/InitialStatusMap.cpp +++ b/qpid/cpp/src/tests/InitialStatusMap.cpp @@ -37,15 +37,15 @@ QPID_AUTO_TEST_SUITE(InitialStatusMapTestSuite) typedef InitialStatusMap::Status Status; Status activeStatus(const Uuid& id=Uuid()) { - return Status(ProtocolVersion(), 0, true, id, STORE_STATE_NO_STORE, Uuid()); + return Status(ProtocolVersion(), 0, true, id, STORE_STATE_NO_STORE, Uuid(), 0); } Status newcomerStatus(const Uuid& id=Uuid()) { - return Status(ProtocolVersion(), 0, false, id, STORE_STATE_NO_STORE, Uuid()); + return Status(ProtocolVersion(), 0, false, id, STORE_STATE_NO_STORE, Uuid(), 0); } Status storeStatus(bool active, StoreState state, Uuid start=Uuid(), Uuid stop=Uuid()) { - return Status(ProtocolVersion(), 0, active, start, state, stop); + return Status(ProtocolVersion(), 0, active, start, state, stop, 0); } QPID_AUTO_TEST_CASE(testFirstInCluster) { @@ -241,7 +241,6 @@ QPID_AUTO_TEST_CASE(testEmptyAlone) { } // FIXME aconway 2009-11-20: consistency tests for mixed stores, -// tests for manual intervention case. QPID_AUTO_TEST_SUITE_END() -- cgit v1.2.1