celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bjoern Petri (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CELIX-315) data race in rsa export tests leads to spurious fails
Date Wed, 02 Dec 2015 14:23:11 GMT
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)

Mime
View raw message