activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1464224 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/LongSequenceGeneratorTest.cpp
Date Wed, 03 Apr 2013 22:38:14 GMT
Author: tabish
Date: Wed Apr  3 22:38:14 2013
New Revision: 1464224

URL: http://svn.apache.org/r1464224
Log:
fix test after recent changes

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/LongSequenceGeneratorTest.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/LongSequenceGeneratorTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/LongSequenceGeneratorTest.cpp?rev=1464224&r1=1464223&r2=1464224&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/LongSequenceGeneratorTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/LongSequenceGeneratorTest.cpp
Wed Apr  3 22:38:14 2013
@@ -29,7 +29,7 @@ void LongSequenceGeneratorTest::test() {
     long long result2 = sequence.getNextSequenceId();
 
     CPPUNIT_ASSERT( result1 < result2 );
-    CPPUNIT_ASSERT( result2 < sequence.getLastSequenceId() );
+    CPPUNIT_ASSERT( result2 == sequence.getLastSequenceId() );
     CPPUNIT_ASSERT( result2 < sequence.getNextSequenceId() );
 
 }



Mime
View raw message