Check for early message send failures 69/102769/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 18 Oct 2022 19:37:29 +0000 (21:37 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 20 Oct 2022 09:01:19 +0000 (11:01 +0200)
commit7aabde7b7621aea44d693752ef6beb8eddaf1e61
tree6d5e6b7c453aacc6db575644eb9c8f68e151cce2
parent9a4b4f4f893eea7d25689953ea7dbb4bcf8ae4af
Check for early message send failures

The transition to start session negotiation does not truly start if we
fail to send the hello message. Check for this condition before
manipulating any other channel state.

JIRA: NETCONF-905
Change-Id: I024a39abc8c6219019531c2abedaf124a25b3f27
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 815f175ed380271ef32d04bf223f4a1b2a70bcb1)
netconf/netconf-client/src/test/java/org/opendaylight/netconf/client/NetconfClientSessionNegotiatorTest.java
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSessionNegotiator.java