Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit af6ee63

Browse files
committed
Added the checkpoint call in the snapfs_get_snapshot_size test.
1 parent 3a8d333 commit af6ee63

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/test/isolation/expected/snapfs_get_snapshot_size.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ step s1_mk_sn:
55
select 1 as "make_snapshot" from pg_make_snapshot();
66
select pg_get_snapshot_size( ( select recent_snapshot from pg_control_snapshot() ) );
77
create table foo as select 'test_data';
8+
checkpoint;
89
select pg_get_snapshot_size( ( select recent_snapshot from pg_control_snapshot() ) ) > 0 as size_not_zero;
910

1011
make_snapshot

src/test/isolation/specs/snapfs_get_snapshot_size.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ step "s1_mk_sn" {
88
select 1 as "make_snapshot" from pg_make_snapshot();
99
select pg_get_snapshot_size( ( select recent_snapshot from pg_control_snapshot() ) );
1010
create table foo as select 'test_data';
11+
checkpoint;
1112
select pg_get_snapshot_size( ( select recent_snapshot from pg_control_snapshot() ) ) > 0 as size_not_zero;
1213
}
1314

0 commit comments

Comments
 (0)