Skip to content
Snippets Groups Projects

test: fix flaky args::tests

Merged Yaroslav Dynnikov requested to merge 63-flaky-test into master
  1. May 16, 2022
    • Yaroslav Dynnikov's avatar
      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.
      Verified
      18ccf158
Loading