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

Commitf2b4c3d

Browse files
author
Vladimir Ershov
committed
fix tests && compat with 9.6
1 parent31494f6 commitf2b4c3d

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

‎src/scheduler_executor.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
#include"utils/builtins.h"
2828
#include"utils/timestamp.h"
2929
#include"utils/memutils.h"
30+
#ifPG_VERSION_NUM >=100000
3031
#include"utils/regproc.h"
32+
#endif
3133
#include"utils/guc.h"
3234

3335
#include"pgpro_scheduler.h"

‎src/scheduler_manager.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
#include"utils/snapmgr.h"
2525
#include"utils/builtins.h"
2626
#include"utils/timestamp.h"
27+
#ifPG_VERSION_NUM >=100000
2728
#include"utils/regproc.h"
29+
#endif
2830
#include<sys/time.h>
2931
#include"utils/lsyscache.h"
3032
#include"catalog/namespace.h"

‎test/perl/runtest.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
);
110110
my$harness = TAP::Harness->new( \%args );
111111
my@tests =glob('t/*.t' );
112-
@tests = ('t/jobMaxRunTime.t');
112+
#@tests = ('t/jobMaxRunTime.t');
113113
$harness->runtests(@tests);
114114

115115

‎test/perl/t/jobMaxInstances.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ ok($sth->execute()) or (print $DBI::errstr . "\n" and $dbh->disconnect() and BAI
3939
my$errorstr =$sth->fetchrow_array()and$sth->finish();
4040
ok($errorstreq"max instances limit reached")orprint$DBI::errstr ."\n";
4141

42+
sleep 120;# to be sure that started job finished
43+
4244
$query ="DELETE FROM test_results;";
4345
$dbh->do($query);
4446
ok($dbh->err == 0,$dbh->errstr)orprint$DBI::errstr ."\n";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp