Skip to content

Commit

Permalink
Increase pfctl timeout from 5 to 15 seconds.
Browse files Browse the repository at this point in the history
Pfctl log contains "Pfctl no '(?^:updated addresses for pf table
.*: added: 1,)' in pfresolved.log after 5 seconds for 4 times at
Pfctl.pm line 48.".  Pfresolved log starts resolving
"parent_send_resolve_request: sending resolve request for foobar.regress.
(AAAA) to forwarder", but contains no answer.  Maybe the test is
not patient enough.
  • Loading branch information
bluhm authored and CaBeckmann committed Nov 28, 2023
1 parent b7003b8 commit 81cabe9
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion regress/Pfctl.pm
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ sub new {

sub child {
my $self = shift;
my $timeout = $self->{timeout} || 5;
my $timeout = $self->{timeout} || 15;
my $updated = $self->{updated};
my $pfresolved = $self->{pfresolved};

Expand Down
2 changes: 1 addition & 1 deletion regress/args-dnssec-badds.pl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
my $pfresolved = $self->{pfresolved};

my $restart = qr/starting new resolve request/;
my $timeout = 5;
my $timeout = 15;
$pfresolved->loggrep($restart, $timeout) or die ref($self),
" no '$restart' in $pfresolved->{logfile}",
" after $timeout seconds";
Expand Down
2 changes: 1 addition & 1 deletion regress/args-dnssec-nokey.pl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
my $pfresolved = $self->{pfresolved};

my $restart = qr/starting new resolve request/;
my $timeout = 5;
my $timeout = 15;
$pfresolved->loggrep($restart, $timeout) or die ref($self),
" no '$restart' in $pfresolved->{logfile}",
" after $timeout seconds";
Expand Down
2 changes: 1 addition & 1 deletion regress/args-dnssec-nosig.pl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
my $pfresolved = $self->{pfresolved};

my $restart = qr/starting new resolve request/;
my $timeout = 5;
my $timeout = 15;
$pfresolved->loggrep($restart, $timeout) or die ref($self),
" no '$restart' in $pfresolved->{logfile}",
" after $timeout seconds";
Expand Down
2 changes: 1 addition & 1 deletion regress/args-dnssec-required.pl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
my $pfresolved = $self->{pfresolved};

my $restart = qr/starting new resolve request/;
my $timeout = 5;
my $timeout = 15;
$pfresolved->loggrep($restart, $timeout) or die ref($self),
" no '$restart' in $pfresolved->{logfile}",
" after $timeout seconds";
Expand Down
2 changes: 1 addition & 1 deletion regress/args-tls-badca.pl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
my $self = shift;
my $pfresolved = $self->{pfresolved};
my $failed = qr/query for .* failed/;
my $timeout = 5;
my $timeout = 15;
$pfresolved->loggrep($failed, $timeout)
or die ref($self), " no '$failed' in $pfresolved->{logfile}",
" after $timeout seconds";
Expand Down
2 changes: 1 addition & 1 deletion regress/args-tls-badhost.pl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
my $self = shift;
my $pfresolved = $self->{pfresolved};
my $failed = qr/query for .* failed/;
my $timeout = 5;
my $timeout = 15;
$pfresolved->loggrep($failed, $timeout)
or die ref($self), " no '$failed' in $pfresolved->{logfile}",
" after $timeout seconds";
Expand Down

0 comments on commit 81cabe9

Please sign in to comment.