diff --git a/upgrade/test_pprof_upload.sh b/upgrade/test_pprof_upload.sh index ad360a6..9a82598 100644 --- a/upgrade/test_pprof_upload.sh +++ b/upgrade/test_pprof_upload.sh @@ -1,7 +1,7 @@ # SPDX-License-Identifier: MIT function test_upload_profiles() { - FORGEJO_URL="http://0.0.0.0:6060" + FORGEJO_URL="http://${IP}:6060" PROFILECLI_URL="http://0.0.0.0:4040" endpoints=("/debug/pprof/allocs" "/debug/pprof/block" "/debug/pprof/goroutine" "/debug/pprof/mutex" "/debug/pprof/profile?seconds=5") @@ -24,9 +24,9 @@ function test_forgejo_pprof() { stop docker run --name test_pyroscope --rm -d -p 4040:4040 docker.io/grafana/pyroscope - log_info "run 7.0.0" + log_info "run 8.0-dev" - start 7.0.0 + start 8.0-dev test_upload_profiles stop