We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8398b41 commit 3e89ba2Copy full SHA for 3e89ba2
scaletest/workspacetraffic/run_test.go
@@ -296,6 +296,13 @@ func TestRun(t *testing.T) {
296
if err == nil || errors.Is(err, io.EOF) {
297
return
298
}
299
+ // Ignore policy violations, we expect these, e.g.:
300
+ //
301
+ // failed to get reader: received close frame: status = StatusPolicyViolation and reason = "timed out"
302
+ if websocket.CloseStatus(err) == websocket.StatusPolicyViolation {
303
+ return
304
+ }
305
+
306
t.Error(err)
307
}))
308
defer srv.Close()
0 commit comments