Disable flaky test on MySQL
This commit is contained in:
parent
c510759df3
commit
636f65cb81
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
import os
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from mock import patch
|
from mock import patch
|
||||||
|
@ -9,6 +10,8 @@ from endpoints.test.shared import client_with_identity
|
||||||
|
|
||||||
from test.fixtures import *
|
from test.fixtures import *
|
||||||
|
|
||||||
|
@pytest.mark.skipif(os.environ.get('TEST_DATABASE_URI', '').find('mysql') >= 0,
|
||||||
|
reason="Queue code is very sensitive to times on MySQL, making this flaky")
|
||||||
def test_export_logs(client):
|
def test_export_logs(client):
|
||||||
with client_with_identity('devtable', client) as cl:
|
with client_with_identity('devtable', client) as cl:
|
||||||
assert export_action_logs_queue.get() is None
|
assert export_action_logs_queue.get() is None
|
||||||
|
|
Reference in a new issue