Skip to content

Commit 1a71985

Browse files
author
J C
committed
Mark speech_streaming test as flaky
Travis isn't liking it..
1 parent 691e88e commit 1a71985

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

speech/api/speech_streaming_test.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import re
1717
import sys
1818

19+
from gcp.testing.flaky import flaky
1920
import pytest
2021

2122
import speech_streaming
@@ -53,9 +54,11 @@ def mock_audio_stream(channels, rate, chunk):
5354
return mock_audio_stream
5455

5556

56-
# grpc doesn't yet support python3 https://github.com/grpc/grpc/issues/282
57+
@flaky
5758
@pytest.mark.skipif(
58-
sys.version_info >= (3, 0), reason="can't get grpc lib to work in python3")
59+
sys.version_info >= (3, 0),
60+
reason=("grpc doesn't yet support python3 "
61+
'https://github.com/grpc/grpc/issues/282'))
5962
def test_main(resource, monkeypatch, capsys):
6063
monkeypatch.setattr(
6164
speech_streaming, 'record_audio',

0 commit comments

Comments
 (0)