Changes between Initial Version and Version 1 of Ticket #1646
- Timestamp:
- 2011-12-29T03:02:26Z (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1646 – Description
initial v1 1 {{{allmydata.test.test_runner.RunNode.test_introducer}}} sometimes fails with the following error :1 {{{allmydata.test.test_runner.RunNode.test_introducer}}} sometimes fails with the following error (found on sickness' buildslave): 2 2 {{{ 3 3 RunNode … … 14 14 I believe the problem is due to an incorrect assumption in the test, that {{{introducer.furl}}} will be written before {{{node.url}}}. In fact they may be written in either order, because the {{{init_introducer}}} method of [source:src/allmydata/introducer/server.py IntroducerNode] writes {{{introducer.furl}}} concurrently with the {{{init_web}}} method of the same class (indirectly) writing {{{node.url}}}. 15 15 16 {{{test_runner.py}}} is prone to race conditions because we don't have a particularly reliable way to determine that a node has started, and so these tests rely on implementation details of when files ware created during the startup process.16 {{{test_runner.py}}} is prone to race conditions because we don't have a particularly reliable way to determine that a node has started, and so these tests rely on implementation details of when files are created during the startup process.