diff --git a/systest/cluster/nodes.go b/systest/cluster/nodes.go index 1473c3913e..389f2a7184 100644 --- a/systest/cluster/nodes.go +++ b/systest/cluster/nodes.go @@ -635,7 +635,7 @@ func waitPod(ctx *testcontext.Context, id string) (*apiv1.Pod, error) { return pod, nil } } - return nil, fmt.Errorf("watcher terminated while waiting for pod with id %v: %w", id, ctx.Err()) + return nil, fmt.Errorf("watcher terminated while waiting for pod with id %v: %w", id, watcherCtx.Err()) } func nodeLabels(name, id string) map[string]string {