This project is mirrored from https://gitee.com/mirrors/nomad.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 20 Apr, 2022 1 commit
  2. 14 Apr, 2022 8 commits
  3. 12 Apr, 2022 3 commits
    • Luiz Aoqui's avatar
    • Tim Gross's avatar
      scripts: fix interpreter for bash (#12549) · 247e20e1
      Tim Gross authored
      Many of our scripts have a non-portable interpreter line for bash and
      use bash-specific variables like `BASH_SOURCE`. Update the interpreter
      line to be portable between various Linuxes and macOS without
      complaint from posix shell users.
      247e20e1
    • Tim Gross's avatar
      E2E: fix flaky event stream test (#12548) · 86ca8f7e
      Tim Gross authored
      This changeset fixes two sources of flakiness in the event stream test.
      
      First, the stream request gets the event *closest* to the index, not
      the exact match. Although events are written before raft entries
      they're written asynchronously, so it's possible to race and get a
      raft index from this query higher than the current head of the event
      buffer. Ensure the job is running before we try to get the index, so
      that we've given the event enough time to land in the buffer.
      
      Second, the assertion that the found index is greater than the start
      index is only true if the `PlanResult` event manages to land before we
      do the second registration. Although it should now with the first fix
      above, it's not a correct assertion for what we're testing.
      86ca8f7e
  4. 11 Apr, 2022 10 commits
  5. 09 Apr, 2022 1 commit
  6. 08 Apr, 2022 12 commits
  7. 07 Apr, 2022 5 commits