Skip to content

Commit 95458ac

Browse files
authored
chore(scripts/develop.sh): restore original access url setting (#9174)
1 parent 8db3869 commit 95458ac

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cli/exp_scaletest_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ func TestScaleTestWorkspaceTraffic(t *testing.T) {
8282
// This test just validates that the CLI command accepts its known arguments.
8383
func TestScaleTestDashboard(t *testing.T) {
8484
t.Parallel()
85+
if testutil.RaceEnabled() {
86+
t.Skip("Flakes under race detector, see https://github.com/coder/coder/issues/9168")
87+
}
8588

8689
ctx, cancelFunc := context.WithTimeout(context.Background(), testutil.WaitMedium)
8790
defer cancelFunc()

scripts/develop.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ fatal() {
131131
trap 'fatal "Script encountered an error"' ERR
132132

133133
cdroot
134-
start_cmd API "" "${CODER_DEV_SHIM}" server --http-address 0.0.0.0:3000 --swagger-enable --dangerous-allow-cors-requests=true "$@"
134+
start_cmd API "" "${CODER_DEV_SHIM}" server --http-address 0.0.0.0:3000 --swagger-enable --access-url "http://127.0.0.1:3000" --dangerous-allow-cors-requests=true "$@"
135135

136136
echo '== Waiting for Coder to become ready'
137137
# Start the timeout in the background so interrupting this script

0 commit comments

Comments
 (0)