mirror of https://github.com/coder/coder.git
chore(scripts/develop.sh): restore original access url setting (#9174)
This commit is contained in:
parent
8db3869415
commit
95458ac8a5
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue