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:
parent
e80f12ace9
commit
c5a35b1ad5
1 changed files with 2 additions and 1 deletions
|
@ -24,9 +24,10 @@ function test_upload_profiles() {
|
||||||
|
|
||||||
function test_forgejo_pprof() {
|
function test_forgejo_pprof() {
|
||||||
stop
|
stop
|
||||||
|
docker rm -f test_pyroscope
|
||||||
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
|
||||||
|
|
||||||
|
reset_forgejo $UPGRADE_DIR/default-app.ini
|
||||||
log_info "run 7.0-test"
|
log_info "run 7.0-test"
|
||||||
start 7.0-test
|
start 7.0-test
|
||||||
test_upload_profiles
|
test_upload_profiles
|
||||||
|
|
Loading…
Add table
Reference in a new issue