From 95458ac8a5fa229b8ad87b37388de3087ac6b997 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Fri, 18 Aug 2023 14:24:17 +0100 Subject: [PATCH] chore(scripts/develop.sh): restore original access url setting (#9174) --- cli/exp_scaletest_test.go | 3 +++ scripts/develop.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cli/exp_scaletest_test.go b/cli/exp_scaletest_test.go index a70fba0443..a7e50fd884 100644 --- a/cli/exp_scaletest_test.go +++ b/cli/exp_scaletest_test.go @@ -82,6 +82,9 @@ func TestScaleTestWorkspaceTraffic(t *testing.T) { // This test just validates that the CLI command accepts its known arguments. func TestScaleTestDashboard(t *testing.T) { t.Parallel() + if testutil.RaceEnabled() { + t.Skip("Flakes under race detector, see https://github.com/coder/coder/issues/9168") + } ctx, cancelFunc := context.WithTimeout(context.Background(), testutil.WaitMedium) defer cancelFunc() diff --git a/scripts/develop.sh b/scripts/develop.sh index fc21ae8b64..cc1ab23f05 100755 --- a/scripts/develop.sh +++ b/scripts/develop.sh @@ -131,7 +131,7 @@ fatal() { trap 'fatal "Script encountered an error"' ERR cdroot - start_cmd API "" "${CODER_DEV_SHIM}" server --http-address 0.0.0.0:3000 --swagger-enable --dangerous-allow-cors-requests=true "$@" + 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 "$@" echo '== Waiting for Coder to become ready' # Start the timeout in the background so interrupting this script