Bill commented on a change in pull request #7131:
URL: https://github.com/apache/geode/pull/7131#discussion_r754423710



##########
File path: 
geode-core/src/distributedTest/java/org/apache/geode/distributed/internal/P2PMessagingConcurrencyDUnitTest.java
##########
@@ -87,21 +99,44 @@
    */
   private static LongAdder bytesTransferredAdder;
 
-  @Before
-  public void before() throws GeneralSecurityException, IOException {
-    final Properties configuration = gemFireConfiguration();
+  private void configure(
+      final boolean conserveSockets,
+      final boolean useTLS,
+      final int sendSocketBufferSize,
+      final int receiveSocketBufferSize) throws GeneralSecurityException, 
IOException {
+
+    final Properties senderConfiguration =
+        gemFireConfiguration(conserveSockets, useTLS, sendSocketBufferSize);
+    final Properties receiverConfiguration =
+        gemFireConfiguration(conserveSockets, useTLS, receiveSocketBufferSize);
 
     final MemberVM locator =
         clusterStartupRule.startLocatorVM(0, 0, VersionManager.CURRENT_VERSION,
-            x -> x.withProperties(configuration).withConnectionToLocator()
+            x -> 
x.withProperties(senderConfiguration).withConnectionToLocator()
                 
.withoutClusterConfigurationService().withoutManagementRestService());
 
-    sender = clusterStartupRule.startServerVM(1, configuration, 
locator.getPort());
-    receiver = clusterStartupRule.startServerVM(2, configuration, 
locator.getPort());
+    sender = clusterStartupRule.startServerVM(1, senderConfiguration, 
locator.getPort());
+    receiver = clusterStartupRule.startServerVM(2, receiverConfiguration, 
locator.getPort());
   }
 
   @Test
-  public void testP2PMessagingWithTLS() {
+  @Parameters({
+      "true, true, 32768, 32768",
+      "true, true, 65536, 32768",

Review comment:
       done




-- 
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]


Reply via email to