Skip to content

Commit 3012800

Browse files
authored
fix: Mark flaky throttled tests for rerun (#3266)
* fix: asynico context * fix: Mark throttled tests for rerun * Revert "fix: asynico context" This reverts commit bdca559.
1 parent afa79c2 commit 3012800

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

tests/unit/test_athena_iceberg.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def test_athena_to_iceberg(
6565
assert_pandas_equals(df, df_out)
6666

6767

68+
@pytest.mark.flaky(reruns=5, reruns_delay=30)
6869
@pytest.mark.parametrize("partition_cols", [None, ["name"]])
6970
def test_athena_to_iceberg_append(
7071
path: str,

tests/unit/test_data_quality.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def test_ruleset_dqdl(df, path, glue_database, glue_table, glue_ruleset, glue_da
7474
assert df_results["Result"].eq("PASS").all()
7575

7676

77+
@pytest.mark.flaky(reruns=5, reruns_delay=30)
7778
@pytest.mark.parametrize("name", [False, True])
7879
def test_recommendation_ruleset(df, path, name, glue_database, glue_table, glue_ruleset, glue_data_quality_role):
7980
df_recommended_ruleset = wr.data_quality.create_recommendation_ruleset(

tests/unit/test_quicksight.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
client = boto3.client("quicksight")
1414

1515

16+
@pytest.mark.flaky(reruns=5, reruns_delay=30)
1617
@pytest.mark.xfail(raises=client.exceptions.ConflictException)
1718
def test_quicksight(
1819
path: str, quicksight_datasource: str, quicksight_dataset: str, glue_database: str, glue_table: str

0 commit comments

Comments
 (0)