From f0312f607b4d10b6f6ac257ee0ed375f3f1b5b24 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Tue, 5 Feb 2019 14:07:40 +0100 Subject: [PATCH] virtcontainers: Reduce filesystem test noise We need to set the context before calling into the API. Fixes: #1211 Signed-off-by: Samuel Ortiz --- virtcontainers/filesystem_resource_storage_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/virtcontainers/filesystem_resource_storage_test.go b/virtcontainers/filesystem_resource_storage_test.go index 3e51a845b..0090f00d8 100644 --- a/virtcontainers/filesystem_resource_storage_test.go +++ b/virtcontainers/filesystem_resource_storage_test.go @@ -32,6 +32,7 @@ func TestFilesystemCreateAllResourcesSuccessful(t *testing.T) { } sandbox := &Sandbox{ + ctx: context.Background(), id: testSandboxID, storage: fs, config: sandboxConfig,