Skip to content

Commit f867309

Browse files
committed
Little fixes in the teardown sections.
1 parent effd143 commit f867309

4 files changed

+4
-4
lines changed

src/test/isolation/specs/snapfs_switch_to_snapshot_sequence.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ setup {
88
teardown {
99
select pg_switch_to_snapshot( 0 );
1010
select pg_remove_snapshot( ( select recent_snapshot from pg_control_snapshot() ) );
11-
drop sequence seq1;
11+
DROP SEQUENCE IF EXISTS seq1;
1212
}
1313

1414
session "s1"

src/test/isolation/specs/snapfs_switch_to_snapshot_three_backends.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ teardown
1414
{
1515
select pg_switch_to_snapshot( 0 );
1616
select pg_remove_snapshot( ( select recent_snapshot from pg_control_snapshot() ) );
17-
DROP TABLE t1;
17+
DROP TABLE IF EXISTS t1;
1818
}
1919

2020
session "s1"

src/test/isolation/specs/snapfs_vacuum_table.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ setup {
1111
teardown {
1212
select pg_switch_to_snapshot( 0 );
1313
select pg_remove_snapshot( ( select recent_snapshot from pg_control_snapshot() ) );
14-
DROP TABLE t1;
14+
DROP TABLE IF EXISTS t1;
1515
}
1616

1717
session "s1"

src/test/isolation/specs/snapfs_view.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ setup {
1111
teardown {
1212
select pg_switch_to_snapshot( 0 );
1313
select pg_remove_snapshot( ( select recent_snapshot from pg_control_snapshot() ) );
14-
DROP TABLE t1 CASCADE;
14+
DROP TABLE IF EXISTS t1 CASCADE;
1515
}
1616

1717
session "s1"

0 commit comments

Comments
 (0)