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 <felix.schumac...@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

Reply via email to