fix(pprof): reset_forgejo before running it

it was working before because the previous tests did it. Now that it
is gone, it no longer worked because there was no app.ini.
This commit is contained in:
Earl Warren 2024-04-25 13:54:12 +02:00
parent e80f12ace9
commit c5a35b1ad5
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -24,9 +24,10 @@ function test_upload_profiles() {
function test_forgejo_pprof() {
stop
docker rm -f test_pyroscope
docker run --name test_pyroscope --rm -d -p 4040:4040 docker.io/grafana/pyroscope
reset_forgejo $UPGRADE_DIR/default-app.ini
log_info "run 7.0-test"
start 7.0-test
test_upload_profiles