BGPCEP-829 fix concurrent access to config file 82/76782/1
authorMatej Perina <matej.perina@pantheon.tech>
Tue, 9 Oct 2018 10:28:27 +0000 (12:28 +0200)
committerMatej Perina <matej.perina@pantheon.tech>
Tue, 9 Oct 2018 10:28:27 +0000 (12:28 +0200)
commit5a7b80c3b4e4c59203659116e7d8fa098e75ec92
treed3227089df085c941eb09f0de12060cec97953e9
parent9810cd2e00e017d3e2523211f7d54d8bc8ede7b1
BGPCEP-829 fix concurrent access to config file

- calling handleConfigFile from two differrent threads was
  causing ConncurentModificationException in ConfigLoaderImpl
  test

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