Changes between Initial Version and Version 1 of Ticket #1646


Ignore:
Timestamp:
2011-12-29T03:02:26Z (12 years ago)
Author:
davidsarah
Comment:

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):
    22{{{
    33  RunNode
     
    1414I 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}}}.
    1515
    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.