From 40e40d3c5d3d3c6872d07f2e9071424cfc69ba91 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 24 Nov 2009 22:41:10 +0000 Subject: Verify stored cluster-id matches agreed cluster-id when joining a persistent cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@883910 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/InitialStatusMap.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 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 e6a3ec1620..82450eac22 100644 --- a/qpid/cpp/src/tests/InitialStatusMap.cpp +++ b/qpid/cpp/src/tests/InitialStatusMap.cpp @@ -37,17 +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(), Uuid()); + return Status(ProtocolVersion(), 0, true, id, STORE_STATE_NO_STORE, Uuid()); } Status newcomerStatus(const Uuid& id=Uuid()) { - return Status(ProtocolVersion(), 0, false, id, - STORE_STATE_NO_STORE, Uuid(), Uuid()); + return Status(ProtocolVersion(), 0, false, id, STORE_STATE_NO_STORE, Uuid()); } Status storeStatus(bool active, StoreState state, Uuid start=Uuid(), Uuid stop=Uuid()) { - return Status(ProtocolVersion(), 0, active, Uuid(), state, start, stop); + return Status(ProtocolVersion(), 0, active, start, state, stop); } QPID_AUTO_TEST_CASE(testFirstInCluster) { -- cgit v1.2.1