From c5a35b1ad5c7c5f8808b6bd55c15b2fe69863847 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Thu, 25 Apr 2024 13:54:12 +0200 Subject: [PATCH] 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. --- upgrade/test-pprof-upload.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/upgrade/test-pprof-upload.sh b/upgrade/test-pprof-upload.sh index 80425a9..e5ab46d 100644 --- a/upgrade/test-pprof-upload.sh +++ b/upgrade/test-pprof-upload.sh @@ -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