Skip to content

Commit

Permalink
Kubernetes benchmarks profiling: Distinguish error messages.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 700813812
  • Loading branch information
EtiennePerot authored and gvisor-bot committed Nov 27, 2024
1 parent e27d27a commit 28c50dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/kubernetes/benchmarks/profiling/profiling.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,10 @@ func MaybeSetup(ctx context.Context, t *testing.T, k8sCtx k8sctx.KubernetesConte
defer setupCancel()
ds, err := startOperations(setupCtx, k8sCtx, c, ns, setupCommands)
if err != nil {
return nil, err
return nil, fmt.Errorf("failed to start profiling setup operations: %w", err)
}
if err := c.WaitForDaemonset(setupCtx, ds); err != nil {
return nil, err
return nil, fmt.Errorf("failed to wait for daemonset: %w", err)
}
}
return cleanup, nil
Expand Down

0 comments on commit 28c50dd

Please sign in to comment.