Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: disable wireguard in portforward and gitssh tests #2728

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

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

coadler
Copy link
Contributor

@coadler coadler commented Jun 29, 2022

No description provided.

@coadler coadler self-assigned this Jun 29, 2022
@coadler coadler requested a review from spikecurtis June 29, 2022 17:26
@coadler coadler enabled auto-merge (squash) June 29, 2022 17:34
@coadler coadler merged commit 6a55889 into main Jun 29, 2022
@coadler coadler deleted the colin/disable-wg-tests branch June 29, 2022 17:37
@@ -58,7 +58,7 @@ func TestGitSSH(t *testing.T) {
coderdtest.AwaitWorkspaceBuildJob(t, client, workspace.LatestBuild.ID)

// start workspace agent
cmd, root := clitest.New(t, "agent", "--agent-token", agentToken, "--agent-url", client.URL.String())
cmd, root := clitest.New(t, "agent", "--agent-token", agentToken, "--agent-url", client.URL.String(), "--wireguard=false")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm concerned that we're enabling this by default, which means any new tests people write with an agent will get wireguard.

I'm experiencing some fairly extreme issues with wireguard on my M1 Mac, where the tests will totally peg my CPU for tens of minutes until they time out.

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.

3 participants