celix icon indicating copy to clipboard operation
celix copied to clipboard

data race in rsa export tests leads to spurious fails

Open rlenferink opened this issue 6 years ago • 0 comments

when running the rsa export tests, there is no chance for the client side to drop the imported endpoints between two tests:

  • Server runs stop/start cycle 1, exporting endpoint/services A
  • Client imports endpoints and according services A, runs test
  • Server runs stop/start cycle 2, exporting endpoint/services B
  • Client runs test but still picks up A, although it should wait for the import of b, because there was no time yet to remove them. With the next discovery poll of the client the endpoint is removed and the belonging service invalidated -> the test fails.

Original creation date: 02/Dec/2015 Reporter: @bpetri

rlenferink avatar Sep 28 '19 14:09 rlenferink