• Tim Gross's avatar
    e2e: fixes for race conditions in testing (#6300) · 31f91cf4
    Tim Gross authored
    - In script checks, ensure we're running `Exec` against the new running
      allocation and not the earlier stopped one.
    - In script checks, allow `Exec` calls to error due to lack of pty when
      we use the exec to kill the task.
    - In `utils.go/RegisterAllocs`, force query for allocations to wait on
      wait index returned by registration call.
    31f91cf4