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 13:42:40 UTC

[jmeter] branch master updated: Even more debug information to find root cause for 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 9d0383b  Even more debug information to find root cause for flaky test
9d0383b is described below

commit 9d0383b77edf1bb58bcc271b3acb676fb06afb3b
Author: Felix Schumacher <fe...@internetallee.de>
AuthorDate: Sun Aug 30 15:42:26 2020 +0200

    Even more debug information to find root cause for flaky test
---
 .../org/apache/jmeter/protocol/http/control/TestCacheManagerBase.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 f9d4d48..c6e22ac 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
@@ -284,7 +284,8 @@ public abstract class TestCacheManagerBase extends JMeterTestCase {
         sleepTill(start + age / 10 + 10);
         CacheEntry cachedEntry = getThreadCacheEntry(LOCAL_HOST);
         assertNotNull(cachedEntry, "Should find entry");
-        assertFalse(this.cacheManager.inCache(url), "Should not find valid entry. Found " + cachedEntry);
+        assertFalse(this.cacheManager.inCache(url),
+                "Should not find valid entry. Found " + cachedEntry + " at " + System.currentTimeMillis());
     }
 
     @Test