summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/replication/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceGrid/replication/AllTests.cpp')
-rw-r--r--cpp/test/IceGrid/replication/AllTests.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/test/IceGrid/replication/AllTests.cpp b/cpp/test/IceGrid/replication/AllTests.cpp
index 1785cafafef..fc40d2fe626 100644
--- a/cpp/test/IceGrid/replication/AllTests.cpp
+++ b/cpp/test/IceGrid/replication/AllTests.cpp
@@ -752,6 +752,16 @@ allTests(const Ice::CommunicatorPtr& comm)
instantiateServer(admin, "IceGridNode", params);
//
+ // Add an application which is using Node1. Otherwise, when a
+ // registry restarts it would throw aways the proxy of the nodes
+ // because the node isn't used by any application.
+ //
+ ApplicationDescriptor app;
+ app.name = "DummyApp";
+ app.nodes["Node1"].description = "dummy node";
+ masterAdmin->addApplication(app);
+
+ //
// Test node session establishment.
//
// - start master, start slave1, start node, start slave2