Fixed concurrency bug in DOMTransactionChainTest 82/8282/1
authorTony Tkacik <ttkacik@cisco.com>
Tue, 24 Jun 2014 07:31:00 +0000 (09:31 +0200)
committerTony Tkacik <ttkacik@cisco.com>
Tue, 24 Jun 2014 07:31:35 +0000 (09:31 +0200)
commit39609b1eb19be4ace637cb0774f69c890103052d
tree489e8a46722bdc534120f99b576ac8be9d56aa5f
parent9a4fa3518c118e7cb07ee1d53b14d8def23d2cfe
Fixed concurrency bug in DOMTransactionChainTest

Delete transaction was commited before read was verified
since transaction commit was done in other thread
there was race-condition between allocating transactions
to verify datastore state.

Change-Id: I1717efbe160e59f42c3baca2f5a5f053d703350e
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
opendaylight/md-sal/sal-dom-broker/src/test/java/org/opendaylight/controller/md/sal/dom/broker/impl/DOMTransactionChainTest.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.