Bill commented on a change in pull request #6930:
URL: https://github.com/apache/geode/pull/6930#discussion_r734898414
##########
File path:
geode-core/src/test/java/org/apache/geode/internal/net/ByteBufferConcurrencyTest.java
##########
@@ -15,6 +15,7 @@
package org.apache.geode.internal.net;
+import static java.lang.Thread.yield;
Review comment:
Well I changed it to sleep so that I could make the hold time (for the
resource) configurable in the test. When trying to expose concurrency bugs it's
nice to be able to introduce longer hold times that we might get with yield.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]