Skip to content

Commit

Permalink
tests: reenable network-listening tests under GitHub Actions
Browse files Browse the repository at this point in the history
These tests can sit listening forever unless terminated.  The problem (I
believe) is that yath was meant to catch a term signal, but it's running
as pid 1, which has special rules.  We need to put an init in the way,
to we have added "--init" to the container options in the underlying
dzil-action action.
  • Loading branch information
rjbs committed Feb 6, 2025
1 parent d83e636 commit 99fdcaf
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 24 deletions.
4 changes: 0 additions & 4 deletions t/dates.t
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ use lib 'lib', 't/lib';

use Test::More;

if ($ENV{GITHUB_ACTION}) {
plan skip_all => "test fails under GitHub Actions at present";
}

use Synergy::Logger::Test '$Logger';

use IO::Async::Loop;
Expand Down
4 changes: 0 additions & 4 deletions t/httpendpoint.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ use lib 't/lib';

use Test::More;

if ($ENV{GITHUB_ACTION}) {
plan skip_all => "test fails under GitHub Actions at present";
}

use Synergy::Logger::Test '$Logger';

use Net::Async::HTTP;
Expand Down
4 changes: 0 additions & 4 deletions t/https.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ use lib 't/lib';

use Test::More;

if ($ENV{GITHUB_ACTION}) {
plan skip_all => "test fails under GitHub Actions at present";
}

use Synergy::Logger::Test '$Logger';

use IO::Async::Loop;
Expand Down
4 changes: 0 additions & 4 deletions t/httpserver.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ use lib 't/lib';

use Test::More;

if ($ENV{GITHUB_ACTION}) {
plan skip_all => "test fails under GitHub Actions at present";
}

use Synergy::Logger::Test '$Logger';

use IO::Async::Loop;
Expand Down
4 changes: 0 additions & 4 deletions t/page.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ use lib 't/lib';

use Test::More;

if ($ENV{GITHUB_ACTION}) {
plan skip_all => "test fails under GitHub Actions at present";
}

use Synergy::Logger::Test '$Logger';

use IO::Async::Loop;
Expand Down
4 changes: 0 additions & 4 deletions t/prometheus.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ use lib 't/lib';

use Test::More;

if ($ENV{GITHUB_ACTION}) {
plan skip_all => "test fails under GitHub Actions at present";
}

use Synergy::Logger::Test '$Logger';

use IO::Async::Loop;
Expand Down

0 comments on commit 99fdcaf

Please sign in to comment.