Skip to content

Commit

Permalink
Merge pull request #3205 from lucas-clemente/update-golangci-lint
Browse files Browse the repository at this point in the history
update golangci-lint to v1.41.1
  • Loading branch information
marten-seemann authored Jun 20, 2021
2 parents afe4dfd + 5ff1abb commit a887f8f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions internal/flowcontrol/base_flow_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a887f8f

Please sign in to comment.