diff --git a/tests/integration_tests/reports/commands_tests.py b/tests/integration_tests/reports/commands_tests.py index 1ed3f35a16512..72c43c8bbf04e 100644 --- a/tests/integration_tests/reports/commands_tests.py +++ b/tests/integration_tests/reports/commands_tests.py @@ -409,7 +409,16 @@ def create_alert_slack_chart_grace(request): @pytest.fixture( - params=["alert1", "alert2", "alert3", "alert4", "alert5", "alert6", "alert7",] + params=[ + "alert1", + "alert2", + "alert3", + "alert4", + "alert5", + "alert6", + "alert7", + "alert8", + ] ) def create_alert_email_chart(request): param_config = { @@ -448,6 +457,11 @@ def create_alert_email_chart(request): "validator_type": ReportScheduleValidatorType.OPERATOR, "validator_config_json": '{"op": "!=", "threshold": 11}', }, + "alert8": { + "sql": "SELECT 55 as metric", + "validator_type": ReportScheduleValidatorType.OPERATOR, + "validator_config_json": '{"op": ">", "threshold": 54.999}', + }, } with app.app_context(): chart = db.session.query(Slice).first()