virtcontainers: Reduce filesystem test noise

We need to set the context before calling into the API.

Fixes: #1211

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz 2019-02-05 14:07:40 +01:00
parent e402601cf8
commit f0312f607b

View File

@ -32,6 +32,7 @@ func TestFilesystemCreateAllResourcesSuccessful(t *testing.T) {
} }
sandbox := &Sandbox{ sandbox := &Sandbox{
ctx: context.Background(),
id: testSandboxID, id: testSandboxID,
storage: fs, storage: fs,
config: sandboxConfig, config: sandboxConfig,