Modify and add threshold as status (#15866)

This commit is contained in:
Ayush Shah 2024-04-11 18:39:46 +05:30 committed by GitHub
parent a1404e6b4a
commit aeaaea4720
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,7 +91,7 @@ class BaseTableCustomSQLQueryValidator(BaseTestValidator):
return self.get_test_case_result_object(
self.execution_date,
status,
f"Found {result_value} row(s). Test query is expected to return 0 row.",
f"Found {result_value} row(s). Test query is expected to return {threshold} row.",
[TestResultValue(name=RESULT_ROW_COUNT, value=str(result_value))],
)