diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bc1a5dde3..948d2ed32 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -28,5 +28,4 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: - # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: v1.34.1 + version: v1.41.1 diff --git a/internal/flowcontrol/base_flow_controller_test.go b/internal/flowcontrol/base_flow_controller_test.go index 0f4b02281..aa68fe54d 100644 --- a/internal/flowcontrol/base_flow_controller_test.go +++ b/internal/flowcontrol/base_flow_controller_test.go @@ -173,8 +173,6 @@ var _ = Describe("Base Flow controller", func() { }) It("doesn't increase the window size if data is read so fast that the window would be consumed in less than 4 RTTs, but less than half the window has been read", func() { - // this test only makes sense if a window update is triggered before half of the window has been consumed - Expect(protocol.WindowUpdateThreshold).To(BeNumerically(">", 1/3)) bytesRead := controller.bytesRead rtt := scaleDuration(20 * time.Millisecond) setRtt(rtt)