You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2019/11/03 12:26:38 UTC

[jmeter] branch master updated: Testrun#929:Make msgs unique; increase delay

This is an automated email from the ASF dual-hosted git repository.

sebb 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 82853fb  Testrun#929:Make msgs unique; increase delay
82853fb is described below

commit 82853fbadd720fb6cd0a7f02cef36eab96ebd39f
Author: Sebb <se...@apache.org>
AuthorDate: Sun Nov 3 12:26:27 2019 +0000

    Testrun#929:Make msgs unique; increase delay
---
 .../apache/jmeter/protocol/http/control/TestCacheManagerBase.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 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 174db4f..7b8df01 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
@@ -259,9 +259,9 @@ public abstract class TestCacheManagerBase extends JMeterTestCase {
         cacheResult(sampleResultOK);
         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");
+        sleepTill(start + 1020);
+        assertNotNull(getThreadCacheEntry(LOCAL_HOST), "Should still find entry");
+        assertFalse(this.cacheManager.inCache(url), "Should not now find valid entry");
     }
 
     @Test