summaryrefslogtreecommitdiff
path: root/contrib/python/podman/test/test_containers.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/python/podman/test/test_containers.py')
-rw-r--r--contrib/python/podman/test/test_containers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/python/podman/test/test_containers.py b/contrib/python/podman/test/test_containers.py
index f84b88f4c..167aae68b 100644
--- a/contrib/python/podman/test/test_containers.py
+++ b/contrib/python/podman/test/test_containers.py
@@ -2,6 +2,7 @@ import os
import signal
import unittest
from test.podman_testcase import PodmanTestCase
+from test.retry_decorator import retry
import podman
@@ -217,6 +218,8 @@ class TestContainers(PodmanTestCase):
self.assertTrue(ctnr.running)
self.assertTrue(ctnr.status, 'running')
+ # creating cgoups can be flakey
+ @retry(podman.libs.errors.ErrorOccurred, tries=16, delay=2, print_=print)
def test_stats(self):
self.assertTrue(self.alpine_ctnr.running)