From 4a73a2b1a6444edbc35d09ec01b230266bbe7544 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Fri, 18 Aug 2023 12:03:31 +0000 Subject: [PATCH 1/2] chore(scripts/develop.sh): restore original access url setting --- scripts/develop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/develop.sh b/scripts/develop.sh index fc21ae8b647cf..cc1ab23f0554e 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 From 4eb17b10225429a68ad9f0a30eda319e50de67a7 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Fri, 18 Aug 2023 13:27:07 +0100 Subject: [PATCH 2/2] Update exp_scaletest_test.go --- cli/exp_scaletest_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/exp_scaletest_test.go b/cli/exp_scaletest_test.go index a70fba0443b10..a7e50fd884082 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()