diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-11-20 11:19:40 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-11-28 10:53:41 +0100 |
commit | fc3047322a527347072ce98ba183cbc8cb49231d (patch) | |
tree | 8facef6cb16261b8aee1d9d2330f18800c9edda3 /test/e2e/version_test.go | |
parent | 070ce0c85570b79a3612ad1fdf15b5c1287b00b6 (diff) | |
download | podman-fc3047322a527347072ce98ba183cbc8cb49231d.tar.gz podman-fc3047322a527347072ce98ba183cbc8cb49231d.tar.bz2 podman-fc3047322a527347072ce98ba183cbc8cb49231d.zip |
util: use fsnotify to wait for file
prefer a fsnotify watcher to polling the file, we take advantage of
inotify on Linux and react more promptly to the PID file being
created.
If the watcher cannot be created, then fallback to the old polling
mechanism.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'test/e2e/version_test.go')
0 files changed, 0 insertions, 0 deletions