summaryrefslogtreecommitdiffstats
path: root/src/bin/auth/tests/auth_srv_unittest.cc
diff options
context:
space:
mode:
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>2013-07-31 09:35:07 +0200
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>2013-07-31 09:35:07 +0200
commit4bca9c538b8deddfc49694d35bebd44c0bbdfc81 (patch)
tree8a3ca5d49894da43e5b4a6eddcd5eb6cee2361df /src/bin/auth/tests/auth_srv_unittest.cc
parent[master] Add ChangeLog entry for #2925 (diff)
downloadkea-4bca9c538b8deddfc49694d35bebd44c0bbdfc81.tar.xz
kea-4bca9c538b8deddfc49694d35bebd44c0bbdfc81.zip
Disable a test conditionally
As the AuthSrvTest.postReconfigure needs shared memory.
Diffstat (limited to 'src/bin/auth/tests/auth_srv_unittest.cc')
-rw-r--r--src/bin/auth/tests/auth_srv_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/auth/tests/auth_srv_unittest.cc b/src/bin/auth/tests/auth_srv_unittest.cc
index 99ad889ca9..9a58692772 100644
--- a/src/bin/auth/tests/auth_srv_unittest.cc
+++ b/src/bin/auth/tests/auth_srv_unittest.cc
@@ -2144,7 +2144,11 @@ TEST_F(AuthSrvTest, loadZoneCommand) {
// Test that the auth server subscribes to the segment readers group when
// there's a remotely mapped segment.
+#ifdef USE_SHARED_MEMORY
TEST_F(AuthSrvTest, postReconfigure) {
+#else
+TEST_F(AuthSrvTest, DISABLED_postReconfigure) {
+#endif
FakeSession session(ElementPtr(new ListElement),
ElementPtr(new ListElement),
ElementPtr(new ListElement));