You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2019/04/08 09:26:32 UTC

[tomcat] branch master updated: Fix typo

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

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new 3c851bc  Fix typo
3c851bc is described below

commit 3c851bcf58bdebdbb4afd6f5d32b210840bb035d
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Apr 8 10:26:11 2019 +0100

    Fix typo
---
 test/org/apache/coyote/http2/TestHttp2Section_6_8.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/org/apache/coyote/http2/TestHttp2Section_6_8.java b/test/org/apache/coyote/http2/TestHttp2Section_6_8.java
index 5f03bd1..7105bc1 100644
--- a/test/org/apache/coyote/http2/TestHttp2Section_6_8.java
+++ b/test/org/apache/coyote/http2/TestHttp2Section_6_8.java
@@ -32,13 +32,13 @@ public class TestHttp2Section_6_8 extends Http2TestBase {
 
     private static final boolean RELAX_TIMING = Boolean.getBoolean("tomcat.test.relaxTiming");
 
-    private static final long PNG_ACK_DELAY_MS = 2000;
+    private static final long PING_ACK_DELAY_MS = 2000;
     // On slow systems (Gump) may need to be higher
     private static final long TIMING_MARGIN_MS = RELAX_TIMING ? 1000 : 200;
 
     @Test
     public void testGoawayIgnoreNewStreams() throws Exception {
-        setPingAckDelayMillis(PNG_ACK_DELAY_MS);
+        setPingAckDelayMillis(PING_ACK_DELAY_MS);
 
         // HTTP2 upgrade - need longer timeouts for this test
         Connector connector = getTomcatInstance().getConnector();
@@ -55,7 +55,7 @@ public class TestHttp2Section_6_8 extends Http2TestBase {
         sendClientPreface();
         validateHttp2InitialResponse();
 
-        Thread.sleep(PNG_ACK_DELAY_MS + TIMING_MARGIN_MS);
+        Thread.sleep(PING_ACK_DELAY_MS + TIMING_MARGIN_MS);
 
         getTomcatInstance().getConnector().pause();
 
@@ -67,7 +67,7 @@ public class TestHttp2Section_6_8 extends Http2TestBase {
         // Should be processed
         sendSimpleGetRequest(3);
 
-        Thread.sleep(PNG_ACK_DELAY_MS + TIMING_MARGIN_MS);
+        Thread.sleep(PING_ACK_DELAY_MS + TIMING_MARGIN_MS);
 
         // Should be ignored
         sendSimpleGetRequest(5);


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org