BUG-7964: IllegalStateException under testReconectClient test 25/53225/1
authorClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Mon, 13 Mar 2017 12:26:44 +0000 (13:26 +0100)
committerClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Mon, 13 Mar 2017 14:57:19 +0000 (14:57 +0000)
commitb3311c4d384e890509f5d0d82ea26464d260a044
tree17fc2570bb75c9d288adcb97f18261b4d88c004d
parent2c2c2f1e4b144928d03a729e7b93147c88e3d99d
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>
(cherry picked from commit 7b48d57ba01775ff48b1686ea8093b009df2ee3c)
pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/PCEPSessionImpl.java
pcep/impl/src/test/java/org/opendaylight/protocol/pcep/impl/PCEPDispatcherImplTest.java