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

Skip to content

Commit dc1faec

Browse files
authored
test: bind more server tests to loopback (#29042)
Follow up to #28980. The tests modified in this PR have the same flake potential as the test fixed in #28980. Fixes https://linear.app/codercom/issue/PLAT-583/flake-testserveryamlwritethenreadconfig
1 parent 1ecb834 commit dc1faec

6 files changed

Lines changed: 51 additions & 51 deletions

File tree

cli/resetpassword_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func TestResetPassword(t *testing.T) {
3939
serverDone := make(chan struct{})
4040
serverinv, cfg := clitest.New(t,
4141
"server",
42-
"--http-address", ":0",
42+
"--http-address", "127.0.0.1:0",
4343
"--access-url", "http://example.com",
4444
"--postgres-url", connectionURL,
4545
"--cache-dir", t.TempDir(),

0 commit comments

Comments
 (0)