Commit c2b93143 authored by Samuel GAIST's avatar Samuel GAIST

[test][bcp] Mark test_execute as flaky

This test tends to fail on macOS with Python3.7

It is however unclear why as the test passes most
of the time. Especially in the other CI environments.
parent 2f2400e1
Pipeline #34090 failed with stage
in 8 minutes and 2 seconds
......@@ -44,6 +44,8 @@ import zmq
import simplejson as json
from flaky import flaky
from ..bcpapi import BCP
from ..bcpapi.client import BeatComputationClient
from ..bcpapi.execution import ExecutionProcess
......@@ -311,6 +313,7 @@ class TestBCP(ExcecutionTestCase):
self.assertEqual(messages[2][1], BCP.BCPP_JOB_CANCELLED)
self.assertEqual(messages[2][2], job_id)
@flaky(max_runs=3)
def test_execute(self):
self.prepare_databases(CONFIGURATION1)
job_id = b"1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment