correct version to run against
This commit is contained in:
parent
fbe3c3c59c
commit
5a5b461453
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
function test_upload_profiles() {
|
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"
|
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")
|
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
|
stop
|
||||||
docker run --name test_pyroscope --rm -d -p 4040:4040 docker.io/grafana/pyroscope
|
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
|
test_upload_profiles
|
||||||
stop
|
stop
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue