Skip to content

Commit

Permalink
small update
Browse files Browse the repository at this point in the history
  • Loading branch information
fabien-sanglier-ibm committed Sep 29, 2018
1 parent ecdcec4 commit 18690e8
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public Long call() throws Exception {

// check the final counter
EhcacheStreamMaster testObjectCheck = streamUtilsInternal.getStreamMasterFromCache(getCacheKey());
logger.debug("Final EhcacheStreamMaster check from cache: {}", testObjectCheck.toString());
logger.debug("Final EhcacheStreamMaster check from cache: {}", EhcacheStreamUtilsInternal.toStringSafe(testObjectCheck));
Assert.assertEquals(threadCount*iterations,testObjectCheck.getReaders());
}

Expand Down Expand Up @@ -148,7 +148,7 @@ public Long call() throws Exception {

// check the final counter
EhcacheStreamMaster testObjectCheck = streamUtilsInternal.getStreamMasterFromCache(getCacheKey());
logger.debug("Final EhcacheStreamMaster check from cache: {}", testObjectCheck.toString());
logger.debug("Final EhcacheStreamMaster check from cache: {}", EhcacheStreamUtilsInternal.toStringSafe(testObjectCheck));
Assert.assertEquals(threadCount*iterations,testObjectCheck.getWriters());
}

Expand Down Expand Up @@ -224,7 +224,7 @@ public Long call() throws Exception {

// check the final counter
EhcacheStreamMaster testObjectCheck = streamUtilsInternal.getStreamMasterFromCache(getCacheKey());
logger.debug("Final EhcacheStreamMaster check from cache: {}", testObjectCheck.toString());
logger.debug("Final EhcacheStreamMaster check from cache: {}", EhcacheStreamUtilsInternal.toStringSafe(testObjectCheck));
Assert.assertEquals(0,testObjectCheck.getReaders());
}

Expand Down Expand Up @@ -284,7 +284,7 @@ public Long call() throws Exception {

// check the final counter
EhcacheStreamMaster testObjectCheck = streamUtilsInternal.getStreamMasterFromCache(getCacheKey());
logger.debug("Final EhcacheStreamMaster check from cache: {}", testObjectCheck.toString());
logger.debug("Final EhcacheStreamMaster check from cache: {}", EhcacheStreamUtilsInternal.toStringSafe(testObjectCheck));
Assert.assertEquals(0,testObjectCheck.getReaders());
}

Expand Down Expand Up @@ -360,7 +360,7 @@ public Long call() throws Exception {

// check the final counter
EhcacheStreamMaster testObjectCheck = streamUtilsInternal.getStreamMasterFromCache(getCacheKey());
logger.debug("Final EhcacheStreamMaster check from cache: {}", testObjectCheck.toString());
logger.debug("Final EhcacheStreamMaster check from cache: {}", EhcacheStreamUtilsInternal.toStringSafe(testObjectCheck));
Assert.assertEquals(0,testObjectCheck.getWriters());
Assert.assertTrue(testObjectCheck.getLastWrittenNanos() > 0);
}
Expand Down Expand Up @@ -421,7 +421,7 @@ public Long call() throws Exception {

// check the final counter
EhcacheStreamMaster testObjectCheck = streamUtilsInternal.getStreamMasterFromCache(getCacheKey());
logger.debug("Final EhcacheStreamMaster check from cache: {}", testObjectCheck.toString());
logger.debug("Final EhcacheStreamMaster check from cache: {}", EhcacheStreamUtilsInternal.toStringSafe(testObjectCheck));
Assert.assertEquals(0,testObjectCheck.getWriters());
Assert.assertTrue(testObjectCheck.getLastWrittenNanos() > 0);
}
Expand Down Expand Up @@ -533,7 +533,7 @@ public Long call() throws Exception {

// check the final counter
EhcacheStreamMaster testObjectCheck = streamUtilsInternal.getStreamMasterFromCache(getCacheKey());
logger.debug("Final EhcacheStreamMaster check from cache: {}", testObjectCheck.toString());
logger.debug("Final EhcacheStreamMaster check from cache: {}", EhcacheStreamUtilsInternal.toStringSafe(testObjectCheck));
Assert.assertEquals(0,testObjectCheck.getWriters());
Assert.assertEquals(0,testObjectCheck.getReaders());
Assert.assertTrue(testObjectCheck.getLastWrittenNanos() > 0);
Expand Down Expand Up @@ -621,7 +621,7 @@ public Long call() throws Exception {

// check the final counter
EhcacheStreamMaster testObjectCheck = streamUtilsInternal.getStreamMasterFromCache(getCacheKey());
logger.debug("Final EhcacheStreamMaster check from cache: {}", testObjectCheck.toString());
logger.debug("Final EhcacheStreamMaster check from cache: {}", EhcacheStreamUtilsInternal.toStringSafe(testObjectCheck));
Assert.assertEquals(0,testObjectCheck.getWriters());
Assert.assertEquals(0,testObjectCheck.getReaders());
Assert.assertTrue(testObjectCheck.getLastWrittenNanos() > 0);
Expand Down

0 comments on commit 18690e8

Please sign in to comment.