Commit c2b93143 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[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 ...@@ -44,6 +44,8 @@ import zmq
import simplejson as json import simplejson as json
from flaky import flaky
from ..bcpapi import BCP from ..bcpapi import BCP
from ..bcpapi.client import BeatComputationClient from ..bcpapi.client import BeatComputationClient
from ..bcpapi.execution import ExecutionProcess from ..bcpapi.execution import ExecutionProcess
...@@ -311,6 +313,7 @@ class TestBCP(ExcecutionTestCase): ...@@ -311,6 +313,7 @@ class TestBCP(ExcecutionTestCase):
self.assertEqual(messages[2][1], BCP.BCPP_JOB_CANCELLED) self.assertEqual(messages[2][1], BCP.BCPP_JOB_CANCELLED)
self.assertEqual(messages[2][2], job_id) self.assertEqual(messages[2][2], job_id)
def test_execute(self): def test_execute(self):
self.prepare_databases(CONFIGURATION1) self.prepare_databases(CONFIGURATION1)
job_id = b"1" 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