File tree 2 files changed +5
-4
lines changed
contrib/pgpro_scheduler/test/perl
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 65
65
" ALTER SYSTEM SET schedule.enabled = on" ,
66
66
" SELECT pg_reload_conf();" ,
67
67
" CREATE TABLE test_results( time_mark timestamp, commentary text )" ,
68
- " DROP ROLE IF EXISTS tester " ,
69
- " CREATE ROLE tester " ,
70
- " GRANT INSERT ON test_results TO tester " ,
68
+ " DROP ROLE IF EXISTS _pgpro_tester " ,
69
+ " CREATE ROLE _pgpro_tester " ,
70
+ " GRANT INSERT ON test_results TO _pgpro_tester " ,
71
71
);
72
72
map { __do_sql($dbh , $_ ) } @sql2 ;
73
73
$dbh -> disconnect();
86
86
);
87
87
my $harness = TAP::Harness-> new( \%args );
88
88
my @tests = glob ( ' t/*.t' );
89
+ # ## @tests = ('t/jobMaxRunTime.t');
89
90
$harness -> runtests(@tests );
90
91
91
92
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ $sth = $dbh->prepare($query);
31
31
ok($sth -> execute()) or (print $DBI::errstr . " \n " and $dbh -> disconnect() and BAIL_OUT);
32
32
33
33
my $result = $sth -> fetchrow_array() and $sth -> finish();
34
- ok ($result == 0) or print " Count != 0\n " ;
34
+ ok ($result == 0) or print " Count $result != 0\n " ;
35
35
36
36
$query = " SELECT schedule.deactivate_job(?)" ;
37
37
$sth = $dbh -> prepare($query );
You can’t perform that action at this time.
0 commit comments