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