aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2022-01-04 17:07:14 -0800
committerKir Kolyshkin <kolyshkin@gmail.com>2022-01-04 17:45:34 -0800
commit79c5b73ed78b3ccfd0e790b5b5195e55f790226b (patch)
treeaa17df86740a5c203fa848afe89faa1fd047533c /pkg/domain
parentcf7fc36953dab023227bebb209a179de8827096a (diff)
downloadpodman-79c5b73ed78b3ccfd0e790b5b5195e55f790226b.tar.gz
podman-79c5b73ed78b3ccfd0e790b5b5195e55f790226b.tar.bz2
podman-79c5b73ed78b3ccfd0e790b5b5195e55f790226b.zip
test/e2e/pod_initcontainers: fix a flake
Commit 3c3fa6fac4d0f8e8 added a few test cases for the init containers. The "podman ensure always init containers always run" implicitly assumes that restarting a pod will take more than 1 second. When this assumption is not met (because computers are fast!), we get a flake. The fix (without using sleep) is to print nanoseconds in date output. This format option (%N) is not supported by date in Alpine Linux, so switch to Fedora. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'pkg/domain')
0 files changed, 0 insertions, 0 deletions