Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/gorilla/websocket from 1.5.0 to 1.5.1 in /src #679

Conversation

ctlong
Copy link
Member

@ctlong ctlong commented Dec 15, 2023

No description provided.

Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](gorilla/websocket@v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@ctlong ctlong requested a review from a team as a code owner December 15, 2023 17:24
@ctlong ctlong changed the base branch from main to dependabot/go_modules/src/github.com/gorilla/websocket-1.5.1 December 15, 2023 17:24
@ctlong ctlong changed the title Refactor(src/trafficcontroller/internal/proxy): websocket handler test Refactor(src/trafficcontroller/internal/proxy): Update tests to resolve failures introduced by the new gorilla/websocket package Dec 15, 2023
@ctlong ctlong changed the base branch from dependabot/go_modules/src/github.com/gorilla/websocket-1.5.1 to main December 15, 2023 17:36
@ctlong ctlong changed the title Refactor(src/trafficcontroller/internal/proxy): Update tests to resolve failures introduced by the new gorilla/websocket package Bump github.com/gorilla/websocket from 1.5.0 to 1.5.1 in /src Dec 15, 2023
@ctlong ctlong force-pushed the refactor/src/trafficcontroller/internal/proxy/websocket_handler_test.go branch 7 times, most recently from 72acd37 to 3db0598 Compare December 15, 2023 19:19
The tests were failing consistently with the new gorilla/websocket
package. The nature of the failures indicated that the tests were at
fault rather than new functionality from the package.

This commit refactors the tests to use a websocket client in order to
connect to the test server in standard, supported way. Additionally, it
updates many of the tests that weren't actually testing what their
descriptions purported they were testing.

One test for "old-style keep-alives" was completely removed. The test
wasn't really testing for it, and we couldn't find any evidence that it
is a real thing that we should support.

wip
This test was failing with the new gorilla/websocket.
@ctlong ctlong force-pushed the refactor/src/trafficcontroller/internal/proxy/websocket_handler_test.go branch from 6eea57c to 714af33 Compare December 15, 2023 21:13
@ctlong ctlong merged commit 22d4aef into main Dec 19, 2023
5 checks passed
@ctlong ctlong deleted the refactor/src/trafficcontroller/internal/proxy/websocket_handler_test.go branch December 19, 2023 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants