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:
parent
8863f8c9ed
commit
e897bd8e47
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue