From e3a40ea5a5aa9f0b2f074e1ec9b84b2d80cf43c7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 11 Sep 2023 14:35:32 -0700 Subject: [PATCH] update expected values (#763) (#766) * update RELEASE_BRANCH env * push up fix to core change in agate_helper * add changelog (cherry picked from commit a67838d3bbb4c76d85b5623dffe8ac6fcfcb7d8f) Co-authored-by: Matthew McKnight <91097623+McKnight-42@users.noreply.github.com> --- .changes/unreleased/Fixes-20230907-153305.yaml | 6 ++++++ tests/functional/adapter/expected_stats.py | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .changes/unreleased/Fixes-20230907-153305.yaml diff --git a/.changes/unreleased/Fixes-20230907-153305.yaml b/.changes/unreleased/Fixes-20230907-153305.yaml new file mode 100644 index 000000000..23b10daf7 --- /dev/null +++ b/.changes/unreleased/Fixes-20230907-153305.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: changes expected value types to AnyInteger to take into account changes in core +time: 2023-09-07T15:33:05.133868-05:00 +custom: + Author: McKnight-42 + Issue: "762" diff --git a/tests/functional/adapter/expected_stats.py b/tests/functional/adapter/expected_stats.py index 04f580815..d5e582631 100644 --- a/tests/functional/adapter/expected_stats.py +++ b/tests/functional/adapter/expected_stats.py @@ -1,4 +1,4 @@ -from dbt.tests.util import AnyString, AnyFloat +from dbt.tests.util import AnyString, AnyInteger def snowflake_stats(): @@ -13,7 +13,7 @@ def snowflake_stats(): "bytes": { "id": "bytes", "label": "Approximate Size", - "value": AnyFloat(), + "value": AnyInteger(), "description": "Approximate size of the table as reported by Snowflake", "include": True, },