From 5a5b461453b1eddcc74e43fcf687634c1e875606 Mon Sep 17 00:00:00 2001 From: TheFox0x7 Date: Mon, 1 Apr 2024 01:21:59 +0200 Subject: [PATCH] correct version to run against --- upgrade/test_pprof_upload.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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