Content-Length: 307035 | pFad | http://github.com/postgrespro/postgres_cluster/commit/359854ca4f01fcde4e129f73235fba8a2292fb8b

ED tests · postgrespro/postgres_cluster@359854c · GitHub
Skip to content

Commit 359854c

Browse files
author
Vladimir Ershov
committed
tests
1 parent 9044daa commit 359854c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

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

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/359854ca4f01fcde4e129f73235fba8a2292fb8b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy