Use flaky for babeltrace live deliverable_3
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 18 Dec 2017 19:29:12 +0000 (14:29 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 18 Dec 2017 21:49:47 +0000 (16:49 -0500)
Babeltrace 1.5.3 is flaky regarding live hooking on a new trace.
Fix for this is currently pending.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
lttng_ivc/tests/babeltrace/live/test_babeltrace_live.py
requirements.txt

index a4466067968cf32e1592c7e71882a7df8c426fb7..96333b7f64780db327269ad73e240afbfaae91f8 100644 (file)
@@ -24,6 +24,8 @@ import shutil
 import time
 import socket
 
+from flaky import flaky
+
 import lttng_ivc.utils.ProjectFactory as ProjectFactory
 import lttng_ivc.utils.utils as utils
 import lttng_ivc.utils.runtime as Run
@@ -63,6 +65,7 @@ else:
             runtime_matrix_live.append(tup)
 
 
+@flaky(max_runs=10, min_passes=3)
 @pytest.mark.parametrize("babeltrace_l,tools_l", runtime_matrix_live)
 def test_babeltrace_live(tmpdir, babeltrace_l, tools_l):
 
index d65416cba6bba4ef53966327fc83e3d499d0960f..da9993d3f449444bceb4898eb2f46e23cc6dd4e5 100644 (file)
@@ -3,3 +3,4 @@ PyYAML
 lxml
 pytest
 python-magic
+flaky
This page took 0.025637 seconds and 5 git commands to generate.