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 633e693
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
description: "Arguments to pass to pytest"
required: false
type: string
default: ""
default: "-m flaky"

jobs:
compute-matrix:
Expand Down
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 633e693

Please sign in to comment.