diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-05-03 09:03:13 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-05-03 09:03:13 +0200 |
commit | ff20dd34f91fecfc351804605b822999cde0e593 (patch) | |
tree | 9abce46a1d5403ad64bf350f6d2b5509a91e7eb6 /cpp/test/IceGrid/replicaGroup/RegistryPlugin.cpp | |
parent | Fix to no longer recursively try endpoints on connection establishment (diff) | |
download | ice-ff20dd34f91fecfc351804605b822999cde0e593.tar.bz2 ice-ff20dd34f91fecfc351804605b822999cde0e593.tar.xz ice-ff20dd34f91fecfc351804605b822999cde0e593.zip |
AIX port
Diffstat (limited to 'cpp/test/IceGrid/replicaGroup/RegistryPlugin.cpp')
-rw-r--r-- | cpp/test/IceGrid/replicaGroup/RegistryPlugin.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/test/IceGrid/replicaGroup/RegistryPlugin.cpp b/cpp/test/IceGrid/replicaGroup/RegistryPlugin.cpp index 9fcc117d627..6172e9e689e 100644 --- a/cpp/test/IceGrid/replicaGroup/RegistryPlugin.cpp +++ b/cpp/test/IceGrid/replicaGroup/RegistryPlugin.cpp @@ -52,8 +52,11 @@ public: { test(_facade->getApplicationInfo(_facade->getAdapterApplication(*p)).descriptor.name == "Test"); test(_facade->getServerInfo(_facade->getAdapterServer(*p)).application == "Test"); - test(_facade->getNodeInfo(_facade->getAdapterNode(*p)).name == "localnode"); + test(_facade->getNodeInfo(_facade->getAdapterNode(*p)).name == "localnode"); +#ifndef _AIX + // On AIX, icegridnode needs read permissions on /dev/kmem test(_facade->getNodeLoad(_facade->getAdapterNode(*p)).avg1 >= 0.0); +#endif test(_facade->getAdapterInfo(*p)[0].replicaGroupId == id); test(_facade->getPropertyForAdapter(*p, "Identity") == id); } |