You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2013/04/04 00:38:14 UTC

svn commit: r1464224 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/LongSequenceGeneratorTest.cpp

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() );
 
 }