diff options
author | Alan Conway <aconway@apache.org> | 2009-11-24 22:41:10 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-11-24 22:41:10 +0000 |
commit | 40e40d3c5d3d3c6872d07f2e9071424cfc69ba91 (patch) | |
tree | ea601b8207e438812553b514d320a460348334f4 /qpid/cpp/src/tests/InitialStatusMap.cpp | |
parent | d65bec1539940b8d7f871d1bdd34719a2fdb9e64 (diff) | |
download | qpid-python-40e40d3c5d3d3c6872d07f2e9071424cfc69ba91.tar.gz |
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
Diffstat (limited to 'qpid/cpp/src/tests/InitialStatusMap.cpp')
-rw-r--r-- | qpid/cpp/src/tests/InitialStatusMap.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
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) { |