summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/session/AllTests.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-09-29 13:37:23 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-09-29 13:37:23 +0000
commit5417605aa88e9019997ca50b4ad7692bedc09fc5 (patch)
tree5c2df2f7eb277606f02919009f68f8a55cec91f7 /cpp/test/IceGrid/session/AllTests.cpp
parentFixed windows compile error (diff)
downloadice-5417605aa88e9019997ca50b4ad7692bedc09fc5.tar.bz2
ice-5417605aa88e9019997ca50b4ad7692bedc09fc5.tar.xz
ice-5417605aa88e9019997ca50b4ad7692bedc09fc5.zip
Added back support for --deploy option. Locking the registry isn't required
anymore to update the database.
Diffstat (limited to 'cpp/test/IceGrid/session/AllTests.cpp')
-rw-r--r--cpp/test/IceGrid/session/AllTests.cpp24
1 files changed, 14 insertions, 10 deletions
diff --git a/cpp/test/IceGrid/session/AllTests.cpp b/cpp/test/IceGrid/session/AllTests.cpp
index 6e5d6c8c00a..7234d01584c 100644
--- a/cpp/test/IceGrid/session/AllTests.cpp
+++ b/cpp/test/IceGrid/session/AllTests.cpp
@@ -1330,16 +1330,20 @@ allTests(const Ice::CommunicatorPtr& communicator)
test(serial + 1 == appObs2->serial);
++serial;
- try
- {
- ApplicationUpdateDescriptor update;
- update.name = "Application";
- admin1->updateApplication(update);
- test(false);
- }
- catch(const AccessDeniedException&)
- {
- }
+ //
+ // We now allow modifying the database without holding the
+ // exclusive lock.
+ //
+// try
+// {
+// ApplicationUpdateDescriptor update;
+// update.name = "Application";
+// admin1->updateApplication(update);
+// test(false);
+// }
+// catch(const AccessDeniedException&)
+// {
+// }
try
{