You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2020/08/30 14:07:15 UTC
[jmeter] branch master updated: Add more info to second flaky test
This is an automated email from the ASF dual-hosted git repository.
fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
The following commit(s) were added to refs/heads/master by this push:
new 9320654 Add more info to second flaky test
9320654 is described below
commit 93206549fe33e74938284b6fc181735baafd2416
Author: Felix Schumacher <fe...@internetallee.de>
AuthorDate: Sun Aug 30 16:07:02 2020 +0200
Add more info to second flaky test
---
.../apache/jmeter/protocol/http/control/TestCacheManagerBase.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/TestCacheManagerBase.java b/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/TestCacheManagerBase.java
index c6e22ac..16077ab 100644
--- a/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/TestCacheManagerBase.java
+++ b/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/TestCacheManagerBase.java
@@ -154,8 +154,10 @@ public abstract class TestCacheManagerBase extends JMeterTestCase {
assertNotNull(getThreadCacheEntry(LOCAL_HOST), "Should find entry");
assertTrue(this.cacheManager.inCache(url), "Should find valid entry");
sleepTill(start + 1010);
- assertNotNull(getThreadCacheEntry(LOCAL_HOST), "Should find entry");
- assertFalse(this.cacheManager.inCache(url), "Should not find valid entry");
+ CacheEntry cachedEntry = getThreadCacheEntry(LOCAL_HOST);
+ assertNotNull(cachedEntry, "Should find entry");
+ assertFalse(this.cacheManager.inCache(url),
+ "Should not find valid entry. Found: " + cachedEntry + " at " + System.currentTimeMillis());
}
@Test