You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bill Burcham (Jira)" <ji...@apache.org> on 2021/10/26 21:49:00 UTC

[jira] [Assigned] (GEODE-9763) Add a DUnit Test of Concurrent P2P Messaging with TLS Enabled

     [ https://issues.apache.org/jira/browse/GEODE-9763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Burcham reassigned GEODE-9763:
-----------------------------------

    Assignee: Bill Burcham

> Add a DUnit Test of Concurrent P2P Messaging with TLS Enabled
> -------------------------------------------------------------
>
>                 Key: GEODE-9763
>                 URL: https://issues.apache.org/jira/browse/GEODE-9763
>             Project: Geode
>          Issue Type: Test
>          Components: messaging
>    Affects Versions: 1.15.0
>            Reporter: Bill Burcham
>            Assignee: Bill Burcham
>            Priority: Major
>              Labels: pull-request-available
>
> We have {{ByteBufferConcurrencyTest}} to test the {{ByteBuffer}} reference counting implemented by {{ByteBufferVendor}}. But we don't have concurrency tests that focus on the code that interacts with {{ByteBufferVendor}} up in {{NioSslEngine}} and {{Connection}}.
> When this ticket is complete we'll have a DUnit test, {{P2PMessagingConcurrencyDUnitTest}}, that focuses on that gap via: 
> * one-way P2P messaging between two peers
> * over a shared, ordered connection
> * with many concurrent tasks competing for the connection (and its {{ByteBuffers}}) on the send side
> * with TLS enabled
> The test will generate messages of various lengths and will verify that the number of bytes sent matches the number of bytes received and that no exceptions are logged.
> The test defines its own subclass of {{DistributionMessage}} and sends it via {{ClusterDistributionManager.putOutgoing(DistributionMessage)}} so that no higher-level system components are exercised (advisors, regions). 
> PR: https://github.com/apache/geode/pull/6930



--
This message was sent by Atlassian Jira
(v8.3.4#803005)