Skip to content

Commit 4f1dd65

Browse files
author
Vladimir Ershov
committed
Merge commit '359854ca4f01fcde4e129f73235fba8a2292fb8b' into PGPROEE9_6_scheduler
2 parents 2e4d01d + 359854c commit 4f1dd65

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

contrib/pgpro_scheduler/test/perl/runtest.pl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@
6565
"ALTER SYSTEM SET schedule.enabled = on",
6666
"SELECT pg_reload_conf();",
6767
"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",
7171
);
7272
map { __do_sql($dbh, $_) } @sql2;
7373
$dbh->disconnect();
@@ -86,6 +86,7 @@
8686
);
8787
my $harness = TAP::Harness->new( \%args );
8888
my @tests = glob( 't/*.t' );
89+
### @tests = ('t/jobMaxRunTime.t');
8990
$harness->runtests(@tests );
9091

9192

contrib/pgpro_scheduler/test/perl/t/jobMaxRunTime.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $sth = $dbh->prepare($query);
3131
ok($sth->execute()) or (print $DBI::errstr . "\n" and $dbh->disconnect() and BAIL_OUT);
3232

3333
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";
3535

3636
$query = "SELECT schedule.deactivate_job(?)";
3737
$sth = $dbh->prepare($query);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy