diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-04-17 13:27:35 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-17 13:28:54 -0700 |
commit | a80cd4302337f1c3a807e127f5a6edc2f014f431 (patch) | |
tree | 488d12600f1bd1d20cd236846597f5e6c5f5aca5 /runsc/container/shared_volume_test.go | |
parent | 80deebb0bfde2a53c943deb8d8473239bb6de3eb (diff) |
Add test name to boot and gofer log files
This is to make easier to find corresponding logs in
case test fails.
PiperOrigin-RevId: 307104283
Diffstat (limited to 'runsc/container/shared_volume_test.go')
-rw-r--r-- | runsc/container/shared_volume_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/container/shared_volume_test.go b/runsc/container/shared_volume_test.go index dc4194134..f80852414 100644 --- a/runsc/container/shared_volume_test.go +++ b/runsc/container/shared_volume_test.go @@ -31,7 +31,7 @@ import ( // TestSharedVolume checks that modifications to a volume mount are propagated // into and out of the sandbox. func TestSharedVolume(t *testing.T) { - conf := testutil.TestConfig() + conf := testutil.TestConfig(t) conf.FileAccess = boot.FileAccessShared t.Logf("Running test with conf: %+v", conf) @@ -190,7 +190,7 @@ func checkFile(c *Container, filename string, want []byte) error { // TestSharedVolumeFile tests that changes to file content outside the sandbox // is reflected inside. func TestSharedVolumeFile(t *testing.T) { - conf := testutil.TestConfig() + conf := testutil.TestConfig(t) conf.FileAccess = boot.FileAccessShared t.Logf("Running test with conf: %+v", conf) |