mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
test: Increase disconnectTimeout to reduce test flakes (#26)
* test: Increase disconnectTimeout to reduce test flakes WebRTC uses UDP, which means a network connection is never open or closed. It uses timeouts to determine connection state; on a slow CI runner, these timeouts could be reached. Increasing this timeout should reduce flakes, but is unlikely to remove this flake entirely. * Fix close after offline * Run tests in parallel
This commit is contained in:
@@ -130,7 +130,7 @@ jobs:
|
||||
- run:
|
||||
gotestsum --jsonfile="gotests.json" --packages="./..." --
|
||||
-covermode=atomic -coverprofile="gotests.coverage" -timeout=3m
|
||||
-count=3 -race
|
||||
-count=3 -race -parallel=2
|
||||
|
||||
- uses: codecov/codecov-action@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user