From 5ff1abb049727ff85fb3e9c562d9497239b380e8 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Wed, 16 Jun 2021 13:21:16 -0700 Subject: [PATCH] update golangci-lint to v1.41.1 --- .github/workflows/lint.yml | 3 +-- internal/flowcontrol/base_flow_controller_test.go | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) 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)