Closed
Description
# on main@3b1ecd3c2
$ go test -race -count=100 ./provisionerd/
panic: Fail in goroutine after TestProvisionerd/InstantClose has completed
goroutine 1605 [running]:
testing.(*common).Fail(0xc00064f6c0)
/nix/store/l9n531fcx4grk3wvfbigya3p66scj61h-go-1.20.6/share/go/src/testing/testing.go:933 +0x1a8
testing.(*common).Error(0xc00064f6c0, {0xc0008ddc60, 0x1, 0x1})
/nix/store/l9n531fcx4grk3wvfbigya3p66scj61h-go-1.20.6/share/go/src/testing/testing.go:1043 +0x8f
github.com/coder/coder/v2/provisionerd_test.createProvisionerDaemonClient(0xc00064f6c0, 0xc00003a2a0, {0x0, 0x0, 0x0, 0x0, 0x0})
/home/cian/src/coder/coder/provisionerd/provisionerd_test.go:1157 +0x94d
github.com/coder/coder/v2/provisionerd_test.TestProvisionerd.func2.2({0xc00068a960?, 0x1020eb0?})
/home/cian/src/coder/coder/provisionerd/provisionerd_test.go:62 +0x7f
github.com/coder/coder/v2/provisionerd.(*Server).connect(0xc0000f8310, {0x1020eb0?, 0xc00068a960})
/home/cian/src/coder/coder/provisionerd/provisionerd.go:178 +0x24d
created by github.com/coder/coder/v2/provisionerd.New
/home/cian/src/coder/coder/provisionerd/provisionerd.go:101 +0x876
FAIL github.com/coder/coder/v2/provisionerd 1.989s
FAIL