zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r1240912 - in /zookeeper/branches/branch-3.3: CHANGES.txt src/c/tests/TestZookeeperInit.cc
Date Mon, 06 Feb 2012 07:59:50 GMT
Author: mahadev
Date: Mon Feb  6 07:59:49 2012
New Revision: 1240912

URL: http://svn.apache.org/viewvc?rev=1240912&view=rev
Log:
ZOOKEEPER-1353. C client test suite fails consistently. (Clint Byrum via mahadev)

Modified:
    zookeeper/branches/branch-3.3/CHANGES.txt
    zookeeper/branches/branch-3.3/src/c/tests/TestZookeeperInit.cc

Modified: zookeeper/branches/branch-3.3/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/CHANGES.txt?rev=1240912&r1=1240911&r2=1240912&view=diff
==============================================================================
--- zookeeper/branches/branch-3.3/CHANGES.txt (original)
+++ zookeeper/branches/branch-3.3/CHANGES.txt Mon Feb  6 07:59:49 2012
@@ -15,6 +15,9 @@ BUGFIXES:
   ZOOKEEPER-1367. Data inconsistencies and unexpired ephemeral nodes after 
   cluster restart. (Benjamin Reed via mahadev)
 
+  ZOOKEEPER-1353. C client test suite fails consistently.
+  (Clint Byrum via mahadev)
+
 Release 3.3.4 - 2011-11-16
 Backward compatible changes:
 

Modified: zookeeper/branches/branch-3.3/src/c/tests/TestZookeeperInit.cc
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/src/c/tests/TestZookeeperInit.cc?rev=1240912&r1=1240911&r2=1240912&view=diff
==============================================================================
--- zookeeper/branches/branch-3.3/src/c/tests/TestZookeeperInit.cc (original)
+++ zookeeper/branches/branch-3.3/src/c/tests/TestZookeeperInit.cc Mon Feb  6 07:59:49 2012
@@ -230,7 +230,7 @@ public:
         const string INVALID_HOST("host1:1111+host:123");
         zh=zookeeper_init(INVALID_HOST.c_str(),0,0,0,0,0);
         CPPUNIT_ASSERT(zh==0);
-        CPPUNIT_ASSERT_EQUAL(ENOENT,errno);
+        CPPUNIT_ASSERT((ENOENT|EINVAL) & errno);
     }
     void testNonexistentHost()
     {



Mime
View raw message