Skip to content

Commit 1f419eb

Browse files
authored
test: retry streaming tests to accommodate flakiness (#956)
* test: retry streaming tests to accommodate flakiness * reduce delay, increase retries
1 parent ac9f300 commit 1f419eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/system/large/test_streaming.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@
1414

1515
import time
1616

17+
import pytest
18+
1719
import bigframes
1820
import bigframes.streaming
1921

2022

23+
@pytest.mark.flaky(retries=3, delay=10)
2124
def test_streaming_df_to_bigtable(session_load: bigframes.Session):
2225
# launch a continuous query
2326
job_id_prefix = "test_streaming_"
@@ -51,6 +54,7 @@ def test_streaming_df_to_bigtable(session_load: bigframes.Session):
5154
query_job.cancel()
5255

5356

57+
@pytest.mark.flaky(retries=3, delay=10)
5458
def test_streaming_df_to_pubsub(session_load: bigframes.Session):
5559
# launch a continuous query
5660
job_id_prefix = "test_streaming_pubsub_"

0 commit comments

Comments
 (0)