From 06d52b77024a111c417b31cceb482f58181a0c44 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Mon, 12 Jan 2026 11:33:15 +0100 Subject: [PATCH] CSI: revert introduction of context with cancellation The traditional behavior of PodIO was to ignore the context. Changing that to use the canceled context was risky because maybe some cleanup operation after cancellation of the context wouldn't run anymore when it previously did. However, this is theoretical. Tests all seemed to pass fine even without this change. --- test/e2e/storage/drivers/csi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/storage/drivers/csi.go b/test/e2e/storage/drivers/csi.go index f8f2384711c..e55e7abf9ec 100644 --- a/test/e2e/storage/drivers/csi.go +++ b/test/e2e/storage/drivers/csi.go @@ -657,7 +657,7 @@ func (m *mockCSIDriver) PrepareTest(ctx context.Context, f *framework.Framework) VolumeMountGroupRequired: m.enableVolumeMountGroup, EnableTopology: m.enableTopology, IO: proxy.PodDirIO{ - TCtx: f.TContext(ctx), + TCtx: f.TContext(context.Background() /* no cancellation, the traditional behavior! */), Namespace: m.driverNamespace.Name, PodName: podname, ContainerName: "busybox",