Skip to content

Commit

Permalink
Mark test as flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Jul 31, 2021
1 parent e151ee9 commit 9383dd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_language_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import sys
from threading import Thread

from flaky import flaky
from pylsp_jsonrpc.exceptions import JsonRpcMethodNotFound
import pytest

Expand Down Expand Up @@ -75,6 +76,7 @@ def client_exited_server():
assert client_server_pair.process.is_alive() is False


@flaky(max_runs=10, min_passes=1)
@pytest.mark.skipif(sys.platform == 'darwin', reason='Too flaky on Mac')
def test_initialize(client_server): # pylint: disable=redefined-outer-name
response = client_server._endpoint.request('initialize', {
Expand Down

0 comments on commit 9383dd5

Please sign in to comment.