This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 7.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/7.0.x by this push: new 75cec48 Fix (hopefully) intermittent Gump failure 75cec48 is described below commit 75cec48b92d593b0beed19d3befedf86d497edfa Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Feb 17 16:57:57 2020 +0000 Fix (hopefully) intermittent Gump failure result needs to be volatile because it is written from the container thread and read from the test thread (like done) --- test/org/apache/catalina/core/TestAsyncContextImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/org/apache/catalina/core/TestAsyncContextImpl.java b/test/org/apache/catalina/core/TestAsyncContextImpl.java index 8afe26f..008e208 100644 --- a/test/org/apache/catalina/core/TestAsyncContextImpl.java +++ b/test/org/apache/catalina/core/TestAsyncContextImpl.java @@ -307,7 +307,7 @@ public class TestAsyncContextImpl extends TomcatBaseTest { private volatile boolean done = false; - private StringBuilder result; + private volatile StringBuilder result; public static final long THREAD_SLEEP_TIME = 1000; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org