Disable flaky test on MySQL

This commit is contained in:
Joseph Schorr 2019-01-04 15:35:00 -05:00
parent c510759df3
commit 636f65cb81

View file

@ -1,3 +1,4 @@
import os
import time
from mock import patch
@ -9,6 +10,8 @@ from endpoints.test.shared import client_with_identity
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):
with client_with_identity('devtable', client) as cl:
assert export_action_logs_queue.get() is None