OGM-630 CountDownLatch not correctly decrease in test
OGM-630 Change boolean with enum in OptimisticLockingTest

  Using an enum should make it easier to understand what's happening in
  during the tests