Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit359854c

Browse files
author
Vladimir Ershov
committed
tests
1 parent9044daa commit359854c

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 EXISTStester",
69-
"CREATE ROLEtester",
70-
"GRANT INSERT ON test_results TOtester",
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)orprint"Count != 0\n";
34+
ok ($result == 0)orprint"Count$result!= 0\n";
3535

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp