From 4f1534bf618fc62949e9b8832a974fd899759c99 Mon Sep 17 00:00:00 2001 From: pavel-zotov Date: Sat, 4 Mar 2023 19:32:07 +0300 Subject: [PATCH] Added/Updated tests\bugs\core_4379_test.py: added substitutions for ignoring phrases with line/column numbers in the execution plan (difference was introduced in FB 5.x) --- tests/bugs/core_4379_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/bugs/core_4379_test.py b/tests/bugs/core_4379_test.py index dbed7a9f..e0f29e74 100644 --- a/tests/bugs/core_4379_test.py +++ b/tests/bugs/core_4379_test.py @@ -111,7 +111,8 @@ test_script = """ select natural_reads, indexed_reads from v_agg_stat_tabs where table_name = upper('T'); """ -act = isql_act('db', test_script) +act = isql_act('db', test_script, substitutions = [('(--\\s+)?line \\d+, col(umn)? \\d+', '')]) +# -- line 2, column 7 expected_stdout = """ PLAN (X ORDER T_PK_IDX)