cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

Addressing h2mux and session flaky tests

Open DevinCarr opened this issue 3 years ago • 0 comments

Updating some tests to try and appease CI flaky tests.

  • Correct some h2mux tests on windows without CGO_ENABLED: Compression isn't supported without cgo on windows environments so the h2mux tests need to ignore compression.
    • TestMultipleStreamsWithDictionaries, TestSampleSiteWithDictionaries, TestLongSiteWithDictionaries
  • TestReadFromDstSessionPreventClosed occasionally will fail because the session closes in the idle time. This might be because of all the tests running in parallel in separate goroutines and the 100ms time limit is exceeded. Bumping this idle time and execution window up may help reduce the flaky failures for these tests

DevinCarr avatar Mar 22 '22 01:03 DevinCarr