This closes #87 - a few test fixes
This commit is contained in:
commit
9900d5331b
|
@ -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++;
|
||||
|
|
|
@ -71,9 +71,6 @@ public class DuplicateCacheTest extends StorageManagerTestBase
|
|||
cache.deleteFromCache(id);
|
||||
|
||||
assertFalse(cache.contains(id));
|
||||
|
||||
cache.deleteFromCache(id);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue