diff --git a/tests/profiling.bats b/tests/profiling.bats index d759be522..1d02434e9 100644 --- a/tests/profiling.bats +++ b/tests/profiling.bats @@ -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" -} \ No newline at end of file +}