Fix intermittent failure in DataChangeListenerTest 60/12460/1
authortpantelis <tpanteli@brocade.com>
Fri, 31 Oct 2014 06:12:10 +0000 (02:12 -0400)
committertpantelis <tpanteli@brocade.com>
Fri, 31 Oct 2014 06:12:10 +0000 (02:12 -0400)
commit3f70f30b19c38f3557064a4c567fa2c7a52ff344
tree4975496c5acc44496fbdf4a3cf3728ea8e2672de
parentec7cac6937c6beacf4d6dd9b44bb998d7b0068d4
Fix intermittent failure in DataChangeListenerTest

Fixed an intermittent failure in testDataChangedWithNoSender due to timing if a
DeadLetter is received due to the Monitor message being dropped as the
unit tests don't set up the termination monitor actor. The test expects
no DeadLetter for DataChangedReply so added chanhes to ignore
DeadLetters for other messages.

Change-Id: I39ddc888de7fbff9201ac9f785baa6fec7cb8f2c
Signed-off-by: tpantelis <tpanteli@brocade.com>
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DataChangeListenerTest.java