You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2021/10/23 00:18:27 UTC

[GitHub] [geode] Bill commented on a change in pull request #6930: GEODE-9763: DUnit Test of Concurrent P2P Messaging with TLS Enabled

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: notifications-unsubscribe@geode.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org