File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 27
27
#include "utils/builtins.h"
28
28
#include "utils/timestamp.h"
29
29
#include "utils/memutils.h"
30
+ #if PG_VERSION_NUM >= 100000
30
31
#include "utils/regproc.h"
32
+ #endif
31
33
#include "utils/guc.h"
32
34
33
35
#include "pgpro_scheduler.h"
Original file line number Diff line number Diff line change 24
24
#include "utils/snapmgr.h"
25
25
#include "utils/builtins.h"
26
26
#include "utils/timestamp.h"
27
+ #if PG_VERSION_NUM >= 100000
27
28
#include "utils/regproc.h"
29
+ #endif
28
30
#include <sys/time.h>
29
31
#include "utils/lsyscache.h"
30
32
#include "catalog/namespace.h"
Original file line number Diff line number Diff line change 109
109
);
110
110
my $harness = TAP::Harness-> new( \%args );
111
111
my @tests = glob ( ' t/*.t' );
112
- @tests = (' t/jobMaxRunTime.t' );
112
+ # @tests = ('t/jobMaxRunTime.t');
113
113
$harness -> runtests(@tests );
114
114
115
115
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ ok($sth->execute()) or (print $DBI::errstr . "\n" and $dbh->disconnect() and BAI
39
39
my $errorstr = $sth -> fetchrow_array() and $sth -> finish();
40
40
ok($errorstr eq " max instances limit reached" ) or print $DBI::errstr . " \n " ;
41
41
42
+ sleep 120; # to be sure that started job finished
43
+
42
44
$query = " DELETE FROM test_results;" ;
43
45
$dbh -> do($query );
44
46
ok($dbh -> err == 0, $dbh -> errstr) or print $DBI::errstr . " \n " ;
You can’t perform that action at this time.
0 commit comments