good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 773d2f29 authored by Anmol Sethi's avatar Anmol Sethi
Browse files

Fix racey wasm test

parent ba0fd40f
No related branches found
No related tags found
No related merge requests found
......@@ -4,19 +4,19 @@ on: [push]
jobs:
fmt:
runs-on: ubuntu-latest
container: nhooyr/websocket-ci@sha256:54a12b52be98d2d1588a054cfce35d17705c9b45546478d8bcdbac2a89a90001
container: nhooyr/websocket-ci@sha256:ea94e078d2d589d654a2c759d952bf4199c754d80dadb20696dc3902359027cb
steps:
- uses: actions/checkout@v1
- run: make fmt
lint:
runs-on: ubuntu-latest
container: nhooyr/websocket-ci@sha256:54a12b52be98d2d1588a054cfce35d17705c9b45546478d8bcdbac2a89a90001
container: nhooyr/websocket-ci@sha256:ea94e078d2d589d654a2c759d952bf4199c754d80dadb20696dc3902359027cb
steps:
- uses: actions/checkout@v1
- run: make lint
test:
runs-on: ubuntu-latest
container: nhooyr/websocket-ci@sha256:54a12b52be98d2d1588a054cfce35d17705c9b45546478d8bcdbac2a89a90001
container: nhooyr/websocket-ci@sha256:ea94e078d2d589d654a2c759d952bf4199c754d80dadb20696dc3902359027cb
steps:
- uses: actions/checkout@v1
- run: make test
......
......@@ -10,7 +10,7 @@ ENV PATH=$GOPATH/bin:$PATH
ENV GOFLAGS="-mod=readonly"
ENV PAGER=cat
ENV CI=true
ENV MAKEFLAGS="-j --output-sync target"
ENV MAKEFLAGS="--jobs=8 --output-sync=target"
COPY ./ci/image/gitignore /root/.config/git/ignore
RUN git config --system color.ui always
......
......@@ -4,7 +4,7 @@ set -euo pipefail
wsjstestOut="$(mktemp -d)/wsjstestOut"
mkfifo "$wsjstestOut"
timeout 15s wsjstest > "$wsjstestOut" &
timeout 45s wsjstest > "$wsjstestOut" &
wsjstestPID="$!"
WS_ECHO_SERVER_URL="$(head -n 1 "$wsjstestOut")"
......
......@@ -242,7 +242,7 @@ type DialOptions struct {
func Dial(ctx context.Context, url string, opts *DialOptions) (*Conn, *http.Response, error) {
c, resp, err := dial(ctx, url, opts)
if err != nil {
return nil, resp, fmt.Errorf("failed to websocket dial: %w", err)
return nil, resp, fmt.Errorf("failed to websocket dial %q: %w", url, err)
}
return c, resp, nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment