tests: use stable -pprof=net flag for go tool trace validation

Signed-off-by: Jonas Böwer <jonas.boewer@plentymarkets.com>
This commit is contained in:
Jonas Böwer 2025-07-11 12:43:05 +02:00
parent 8863f8c9ed
commit e897bd8e47
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ load helpers
run_buildah info --trace-profile="$tmpfile"
assert "$status" -eq 0 "buildah info with --trace-profile should succeed"
[ -s "$tmpfile" ] || die "trace profile should not be empty"
run go tool trace -d=2 "$tmpfile"
run go tool trace -pprof=net "$tmpfile"
assert "$status" -eq 0 "go tool trace should succeed"
rm -f "$tmpfile"
}
@ -30,4 +30,4 @@ load helpers
run go tool pprof -top "$tmpfile"
assert "$status" -eq 0 "go tool pprof should succeed on memory profile"
rm -f "$tmpfile"
}
}