diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-01-28 17:45:56 -0500 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-02-04 13:45:33 -0500 |
commit | 8defc9cf4389eb8975e8438b0ef7f446312b416f (patch) | |
tree | 9952be0190393a7044cbeffaf40204065c658179 /test/e2e | |
parent | f5eeee110300210e5618b7f4a8b26ef20c49d2a2 (diff) | |
download | podman-8defc9cf4389eb8975e8438b0ef7f446312b416f.tar.gz podman-8defc9cf4389eb8975e8438b0ef7f446312b416f.tar.bz2 podman-8defc9cf4389eb8975e8438b0ef7f446312b416f.zip |
Docker ignores mount flags that begin with constency
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1915332
```
According to the Docker docs, the consistency option should be ignored on Linux.
the possible values are 'cached', 'delegated', and 'consistent', but they should be ignored equally.
This is a widely used option in scripts run by developer machines, as this makes file I/O less horribly slow on MacOS.
```
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/run_volume_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/run_volume_test.go b/test/e2e/run_volume_test.go index 7c74cea78..bc89b59de 100644 --- a/test/e2e/run_volume_test.go +++ b/test/e2e/run_volume_test.go @@ -110,7 +110,7 @@ var _ = Describe("Podman run with volumes", func() { Expect(session.ExitCode()).To(Equal(0)) Expect(session.OutputToString()).To(ContainSubstring(dest + " ro")) - session = podmanTest.Podman([]string{"run", "--rm", "--mount", mount + ",shared", ALPINE, "grep", dest, "/proc/self/mountinfo"}) + session = podmanTest.Podman([]string{"run", "--rm", "--mount", mount + ",consistency=delegated,shared", ALPINE, "grep", dest, "/proc/self/mountinfo"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) found, matches := session.GrepString(dest) |