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

Commit 893a151

Browse files
committed
Test does not pass: roles always not found
1 parent 5579e65 commit 893a151

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/test/isolation/specs/snapfs_role.spec

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ teardown {
1515

1616
session "s1"
1717
step "s1_cr" {
18-
create role test_role1 nologin;
18+
create role regressuser1 nologin;
1919
}
2020
step "s1_check" {
21-
select rolname, rolcanlogin from pg_roles where rolname in ( 'test_role1', 'test_role2' );
21+
select rolname, rolcanlogin from pg_roles where rolname in ( 'regressuser1', 'regressuser2' );
2222
}
2323
step "s1_ar" {
24-
alter role test_role1 rename to test_role2;
25-
alter role test_role2 login;
24+
alter role regressuser1 rename to regressuser2;
25+
alter role regressuser2 login;
2626
}
2727
step "s1_dr" {
28-
drop role test_role2;
28+
drop role regressuser2;
2929
}
3030
step "s1_sb_0" {
3131
select pg_set_backend_snapshot( 0 );
@@ -42,7 +42,7 @@ step "s1_sb_3" {
4242

4343
session "s2"
4444
step "s2_check" {
45-
select rolname, rolcanlogin from pg_roles where rolname in ( 'test_role1', 'test_role2' );
45+
select rolname, rolcanlogin from pg_roles where rolname in ( 'regressuser1', 'regressuser2' );
4646
}
4747
step "s2_sb_0" {
4848
select pg_set_backend_snapshot( 0 );
@@ -84,7 +84,7 @@ step "s3_rc_sn_2" {
8484
}
8585

8686
permutation "s3_mk_sn" "s1_cr" "s3_mk_sn" "s1_check" "s1_ar" "s3_mk_sn" "s1_dr" "s1_check" "s2_check" "s3_sw_1" "s1_check" "s2_check" "s3_sw_2" "s1_check" "s2_check" "s3_sw_3" "s1_check" "s2_check" "s3_sw_0" "s1_check" "s2_check"
87-
#permutation "s3_mk_sn" "s1_cr" "s3_mk_sn" "s1_check" "s1_ar" "s3_mk_sn" "s1_dr" "s1_check" "s2_check" "s1_sb_1" "s1_check" "s2_check" "s1_sb_2" "s1_check" "s2_check" "s1_sb_3" "s1_check" "s2_check" "s1_sb_0" "s1_check" "s2_check"
88-
#permutation "s3_mk_sn" "s1_cr" "s3_mk_sn" "s1_check" "s1_ar" "s3_mk_sn" "s1_dr" "s1_check" "s2_check" "s2_sb_1" "s1_check" "s2_check" "s2_sb_2" "s1_check" "s2_check" "s2_sb_3" "s1_check" "s2_check" "s2_sb_0" "s1_check" "s2_check"
89-
#permutation "s3_mk_sn" "s1_cr" "s3_mk_sn" "s1_check" "s1_ar" "s3_mk_sn" "s1_dr" "s1_check" "s2_check" "s3_rc_sn_2" "s1_check" "s2_check"
90-
permutation "s3_mk_sn" "s1_cr" "s3_mk_sn" "s1_check" "s1_ar" "s3_mk_sn" "s1_dr" "s1_check" "s2_check" "s3_rc_sn" "s1_check" "s2_check" "s3_rc_sn" "s1_check" "s2_check" "s3_rc_sn" "s1_check" "s2_check"
87+
permutation "s3_mk_sn" "s1_cr" "s3_mk_sn" "s1_check" "s1_ar" "s3_mk_sn" "s1_dr" "s1_check" "s2_check" "s1_sb_1" "s1_check" "s2_check" "s1_sb_2" "s1_check" "s2_check" "s1_sb_3" "s1_check" "s2_check" "s1_sb_0" "s1_check" "s2_check"
88+
permutation "s3_mk_sn" "s1_cr" "s3_mk_sn" "s1_check" "s1_ar" "s3_mk_sn" "s1_dr" "s1_check" "s2_check" "s2_sb_1" "s1_check" "s2_check" "s2_sb_2" "s1_check" "s2_check" "s2_sb_3" "s1_check" "s2_check" "s2_sb_0" "s1_check" "s2_check"
89+
permutation "s3_mk_sn" "s1_cr" "s3_mk_sn" "s1_check" "s1_ar" "s3_mk_sn" "s1_dr" "s1_check" "s2_check" "s3_rc_sn_2" "s1_check" "s2_check"
90+
permutation "s3_mk_sn" "s1_cr" "s3_mk_sn" "s1_check" "s1_ar" "s3_mk_sn" "s1_dr" "s1_check" "s2_check" "s3_rc_sn" "s1_check" "s2_check" "s3_rc_sn" "s1_check" "s2_check" "s3_rc_sn" "s1_check" "s2_check" "s3_mk_sn"

0 commit comments

Comments
 (0)