fix concurrent access to config file 98/76798/2
authorMatej Perina <matej.perina@pantheon.tech>
Tue, 9 Oct 2018 10:28:27 +0000 (12:28 +0200)
committerMatej Perina <matej.perina@pantheon.tech>
Thu, 11 Oct 2018 07:24:39 +0000 (07:24 +0000)
commitc7a4a1ff50078d4ca3cc0eca0fc5de054c5068c0
tree9e2c3630bc3acc8ea3eb2ff9081ed7141a728b00
parent98a7fda2994be3c733edbe8b3e53e09badef8e2c
fix concurrent access to config file

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

JIRA: BGPCEP-829

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