You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Bjoern Petri (JIRA)" <ji...@apache.org> on 2015/12/02 15:23:11 UTC

[jira] [Created] (CELIX-315) data race in rsa export tests leads to spurious fails

Bjoern Petri created CELIX-315:
----------------------------------

             Summary: data race in rsa export tests leads to spurious fails
                 Key: CELIX-315
                 URL: https://issues.apache.org/jira/browse/CELIX-315
             Project: Celix
          Issue Type: Bug
            Reporter: Bjoern Petri
            Assignee: Bjoern Petri
            Priority: Minor


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. 






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)