BUG-7964: IllegalStateException under testReconectClient test 12/53212/3
authorClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Mon, 13 Mar 2017 12:26:44 +0000 (13:26 +0100)
committerRobert Varga <nite@hq.sk>
Mon, 13 Mar 2017 14:10:51 +0000 (14:10 +0000)
commit7b48d57ba01775ff48b1686ea8093b009df2ee3c
tree9727da9cab41150df22708a63c1d2432a25bdbb8
parent5fd9a9408b18f19ffa344e085449a897f5d019f1
BUG-7964: IllegalStateException under testReconectClient test

Fix by wait until channel is closed before retry to connect.

Change-Id: If1c7889b7988ce5cab3e11f73b6134ad2af182c7
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/PCEPSessionImpl.java
pcep/impl/src/test/java/org/opendaylight/protocol/pcep/impl/PCEPDispatcherImplTest.java