Skip to content

Commit

Permalink
Verify changes with test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-datadog committed Jul 5, 2024
1 parent ed8b265 commit 7b60d8e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions ddev/src/ddev/cli/validate/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def ci(app: Application, sync: bool):
jobs_workflow_path = app.repo.path / '.github' / 'workflows' / 'test-all.yml'
original_jobs_workflow = jobs_workflow_path.read_text() if jobs_workflow_path.is_file() else ''

# TODO: Remove this once verification is done for all tests
jobs = {}
for data in construct_job_matrix(app.repo.path, get_all_targets(app.repo.path)):
python_restriction = data.get('python-support', '')
Expand Down
1 change: 1 addition & 0 deletions kafka_consumer/tests/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
pytestmark = [pytest.mark.e2e]


@pytest.mark.flaky
def test_e2e(dd_agent_check, kafka_instance):
aggregator = dd_agent_check(kafka_instance)
assert_check_kafka(aggregator, kafka_instance['consumer_groups'])
1 change: 1 addition & 0 deletions kafka_consumer/tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def test_check_kafka(aggregator, check, kafka_instance, dd_run_check):
assert_check_kafka_has_consumer_group_state_tag(aggregator, kafka_instance['consumer_groups'])


@pytest.mark.flaky
def test_can_send_event(aggregator, check, kafka_instance, dd_run_check):
"""
Testing Kafka_consumer check.
Expand Down
1 change: 1 addition & 0 deletions postgres/tests/test_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
pytestmark = pytest.mark.unit


@pytest.mark.flaky
def test_get_instance_metrics_lt_92(integration_check, pg_instance):
"""
check output when 9.2+
Expand Down

0 comments on commit 7b60d8e

Please sign in to comment.