This closes #87 - a few test fixes

This commit is contained in:
Clebert Suconic 2015-02-02 10:31:21 -05:00
commit 9900d5331b
2 changed files with 4 additions and 7 deletions

View File

@ -1201,16 +1201,16 @@ public abstract class ClusterTestBase extends ServiceTestBase
ClientMessage message = holder.consumer.receive(WAIT_TIMEOUT);
message.acknowledge();
consumers[consumerIDs[count]].session.commit();
Assert.assertNotNull("consumer " + consumerIDs[count] + " did not receive message " + i, message);
Assert.assertEquals("consumer " + consumerIDs[count] + " message " + i,
i,
message.getObjectProperty(ClusterTestBase.COUNT_PROP));
message.acknowledge();
consumers[consumerIDs[count]].session.commit();
}
count++;

View File

@ -71,9 +71,6 @@ public class DuplicateCacheTest extends StorageManagerTestBase
cache.deleteFromCache(id);
assertFalse(cache.contains(id));
cache.deleteFromCache(id);
}