Skip to content
Snippets Groups Projects
  • Yaroslav Dynnikov's avatar
    18ccf158
    test: fix flaky args::tests · 18ccf158
    Yaroslav Dynnikov authored
    By default cargo runs tests in parallel in multiple threads.  Both
    `test_log_level` and `test_parse` access environment variables which are
    shared across threads. Consequently, their concurrent modification
    results in the test failure.
    
    This patch unites these two tests making it linear.
    18ccf158
    History
    test: fix flaky args::tests
    Yaroslav Dynnikov authored
    By default cargo runs tests in parallel in multiple threads.  Both
    `test_log_level` and `test_parse` access environment variables which are
    shared across threads. Consequently, their concurrent modification
    results in the test failure.
    
    This patch unites these two tests making it linear.