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

test: check if connection upgrades work (using exec) #139

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

proudier
Copy link
Contributor

@proudier proudier commented Sep 9, 2024

To prevent #132 from happening again, this PR adds a test for docker exec

It passes with HAProxy 2.2 while it fails with HAProxy 3.0:

E               plumbum.commands.processes.ProcessExecutionError: Unexpected exit code: 1
E               Command line: | /usr/bin/docker exec 785fa7761d1fd6237322dee1c0ad2241e55817c5732ba8eeb0b6de05e66a0e05 ls
E               Stderr:       | unable to upgrade to tcp, received 200

@pedrobaeza pedrobaeza merged commit 0e8d660 into Tecnativa:master Sep 10, 2024
3 checks passed
@proudier proudier deleted the exec_test branch September 10, 2024 13:39
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