Skip to content

Commit

Permalink
Mark some sqlserver flaky tests (#18181)
Browse files Browse the repository at this point in the history
  • Loading branch information
iliakur authored Aug 2, 2024
1 parent 4ca8163 commit c52d3a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions sqlserver/tests/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ def test_collect_schemas(aggregator, dd_run_check, dbm_instance):
raise AssertionError(Exception("found the following diffs: " + str(difference)))


@pytest.mark.flaky
def test_schemas_collection_truncated(aggregator, dd_run_check, dbm_instance):
dbm_instance['database_autodiscovery'] = True
dbm_instance['autodiscovery_include'] = ['datadog_test_schemas']
Expand Down
1 change: 1 addition & 0 deletions sqlserver/tests/test_statements.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,7 @@ def test_metrics_lookback_multiplier(instance_docker):
mock_cursor.execute.assert_called_with(ANY, (6,))


@pytest.mark.flaky
@pytest.mark.integration
@pytest.mark.usefixtures('dd_environment')
@pytest.mark.parametrize(
Expand Down
1 change: 1 addition & 0 deletions sqlserver/tests/test_stored_procedures.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ def test_get_procedure_metrics_query_cached(aggregator, dbm_instance, caplog):
)


@pytest.mark.flaky
@pytest.mark.integration
@pytest.mark.usefixtures('dd_environment')
@pytest.mark.parametrize(*test_procedure_metrics_parametrized)
Expand Down

0 comments on commit c52d3a9

Please sign in to comment.