From b67158c15d17ac4d8ff5caf03a541fbeef1d5ea3 Mon Sep 17 00:00:00 2001 From: Jack Forgash <58153492+forgxyz@users.noreply.github.com> Date: Wed, 25 Sep 2024 21:15:15 -0400 Subject: [PATCH] add hash type to final test --- tests/tests__final_gaps.sql | 2 ++ tests/tests__receipt_gaps.sql | 3 +-- tests/tests__tx_gaps.sql | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/tests__final_gaps.sql b/tests/tests__final_gaps.sql index 37cbcd2..3c030c4 100644 --- a/tests/tests__final_gaps.sql +++ b/tests/tests__final_gaps.sql @@ -43,6 +43,7 @@ f_transactions AS ( ) SELECT + 'receipt_id' AS hash_type, r_receipts.receipt_id AS missing, r_receipts.block_id FROM @@ -57,6 +58,7 @@ WHERE UNION ALL SELECT + 'tx_hash' AS hash_type, r_transactions.tx_hash AS missing, r_transactions.block_id FROM diff --git a/tests/tests__receipt_gaps.sql b/tests/tests__receipt_gaps.sql index 36f0d9b..781b85b 100644 --- a/tests/tests__receipt_gaps.sql +++ b/tests/tests__receipt_gaps.sql @@ -1,6 +1,5 @@ {{ config( - error_if = '>=10', - warn_if = 'BETWEEN 1 AND 9', + severity = 'error', tags = ['gap_test'] ) }} diff --git a/tests/tests__tx_gaps.sql b/tests/tests__tx_gaps.sql index a19897e..43812e6 100644 --- a/tests/tests__tx_gaps.sql +++ b/tests/tests__tx_gaps.sql @@ -1,6 +1,5 @@ {{ config( - error_if = '>=10', - warn_if = 'BETWEEN 1 AND 9', + severity = 'error', tags = ['gap_test'] ) }}