use thread-safe list in ConfigLoaderImplTest 81/77381/1
authorMatej Perina <matej.perina@pantheon.tech>
Wed, 31 Oct 2018 10:22:13 +0000 (11:22 +0100)
committerMatej Perina <matej.perina@pantheon.tech>
Wed, 31 Oct 2018 12:43:42 +0000 (12:43 +0000)
commit4a19d82bbc2eca57c0ce4060acc2c12e8e27430f
tree692f9e4c21253c3d2baa82a539a244881d1547fe
parentae30887d3e9b64d34ff77556e334d82aac685045
use thread-safe list in ConfigLoaderImplTest

- to prevent ConcurrentModificationException in
  situation when List.stream() is called at same
  time as List.clear()

JIRA: BGPCEP-829

Change-Id: I9e69971de5ec75ca515e81e2b95fe44e50489fda
Signed-off-by: Matej Perina <matej.perina@pantheon.tech>
config-loader/config-loader-impl/src/test/java/org/opendaylight/bgpcep/config/loader/impl/AbstractConfigLoader.java