mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-05 20:17:07 +00:00
Modify and add threshold as status (#15866)
This commit is contained in:
parent
a1404e6b4a
commit
aeaaea4720
@ -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))],
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user