Check for early message send failures 51/102751/6
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 18 Oct 2022 19:37:29 +0000 (21:37 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 19 Oct 2022 00:31:42 +0000 (02:31 +0200)
commit815f175ed380271ef32d04bf223f4a1b2a70bcb1
tree1fce72f1953a27390212cbf2d0f641ff6c40e32e
parentea556da8f195af133ef9a4b9b85601af526e9f4c
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>
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