Skip to content
Snippets Groups Projects
  • Pierre-Yves David's avatar
    f44b9c72f061
    run-tests: allow some slack about 'waiting on lock' message · f44b9c72f061
    Pierre-Yves David authored
    It is common to run the tests on very loaded machine when concurrent run might
    take a bit longer. Such message are usually harmless, but anoying as they break
    the tests.
    
    Test that explicitly depends on this value have been adjusted. This make them
    more robust anyway.
    
    A fun case was `test-clone-pull-corruption.t` which, without the previous
    changeset introducing extra flushing, ended use having a line 31 (`pulling from
    ../source`) changing order because the warning message was no longer flushing
    stdin before using stderr (stderr being invisible in the test).
    
    Differential Revision: https://phab.mercurial-scm.org/D9507
    f44b9c72f061
    History
    run-tests: allow some slack about 'waiting on lock' message
    Pierre-Yves David authored
    It is common to run the tests on very loaded machine when concurrent run might
    take a bit longer. Such message are usually harmless, but anoying as they break
    the tests.
    
    Test that explicitly depends on this value have been adjusted. This make them
    more robust anyway.
    
    A fun case was `test-clone-pull-corruption.t` which, without the previous
    changeset introducing extra flushing, ended use having a line 31 (`pulling from
    ../source`) changing order because the warning message was no longer flushing
    stdin before using stderr (stderr being invisible in the test).
    
    Differential Revision: https://phab.mercurial-scm.org/D9507