diff --git a/src/test/regress/expected/rollback_to_savepoint.out b/src/test/regress/expected/rollback_to_savepoint.out deleted file mode 100644 index b5b631463..000000000 --- a/src/test/regress/expected/rollback_to_savepoint.out +++ /dev/null @@ -1,27 +0,0 @@ --- Regression test for this issue: --- https://github.com/citusdata/citus/issues/3622 -SET citus.shard_count = 4; -SET citus.next_shard_id TO 1954000; -CREATE SCHEMA rollback_to_savepoint; -SET search_path TO rollback_to_savepoint; -CREATE TABLE t(a int); -SELECT create_distributed_table('t', 'a'); - create_distributed_table ---------------------------------------------------------------------- - -(1 row) - --- This timeout is chosen such that the INSERT with --- generate_series(1, 100000000) is cancelled at the right time to trigger the --- bug -SET statement_timeout = '2s'; -BEGIN; -INSERT INTO t VALUES (4); -SAVEPOINT s1; -INSERT INTO t SELECT i FROM generate_series(1, 10000000) i; -ERROR: canceling statement due to statement timeout -ROLLBACK TO SAVEPOINT s1; -INSERT INTO t SELECT i FROM generate_series(1, 100) i; -ROLLBACK; -DROP SCHEMA rollback_to_savepoint CASCADE; -NOTICE: drop cascades to table t diff --git a/src/test/regress/multi_schedule b/src/test/regress/multi_schedule index f9136008f..17db6a90f 100644 --- a/src/test/regress/multi_schedule +++ b/src/test/regress/multi_schedule @@ -63,7 +63,7 @@ test: tableam drop_column_partitioned_table # ---------- # Miscellaneous tests to check our query planning behavior # ---------- -test: multi_deparse_shard_query multi_distributed_transaction_id intermediate_results limit_intermediate_size rollback_to_savepoint +test: multi_deparse_shard_query multi_distributed_transaction_id intermediate_results limit_intermediate_size test: multi_explain hyperscale_tutorial partitioned_intermediate_results distributed_intermediate_results multi_real_time_transaction test: multi_basic_queries cross_join multi_complex_expressions multi_subquery multi_subquery_complex_queries multi_subquery_behavioral_analytics test: multi_subquery_complex_reference_clause multi_subquery_window_functions multi_view multi_sql_function multi_prepare_sql diff --git a/src/test/regress/sql/rollback_to_savepoint.sql b/src/test/regress/sql/rollback_to_savepoint.sql deleted file mode 100644 index 48ef29a5c..000000000 --- a/src/test/regress/sql/rollback_to_savepoint.sql +++ /dev/null @@ -1,23 +0,0 @@ --- Regression test for this issue: --- https://github.com/citusdata/citus/issues/3622 -SET citus.shard_count = 4; -SET citus.next_shard_id TO 1954000; -CREATE SCHEMA rollback_to_savepoint; -SET search_path TO rollback_to_savepoint; - -CREATE TABLE t(a int); -SELECT create_distributed_table('t', 'a'); - --- This timeout is chosen such that the INSERT with --- generate_series(1, 100000000) is cancelled at the right time to trigger the --- bug -SET statement_timeout = '2s'; -BEGIN; -INSERT INTO t VALUES (4); -SAVEPOINT s1; -INSERT INTO t SELECT i FROM generate_series(1, 10000000) i; -ROLLBACK TO SAVEPOINT s1; -INSERT INTO t SELECT i FROM generate_series(1, 100) i; -ROLLBACK; - -DROP SCHEMA rollback_to_savepoint CASCADE;