Skip to content

Commit

Permalink
Skip tests t/60leaks.t and t/rt86153-reconnect-fail-memory.t on OpenBSD
Browse files Browse the repository at this point in the history
These two tests are failing on OpenBSD system when measuring system memory
and report memory leaks. Probably there are no memory leaks just higher
consumption of system resources by memory allocator itself.

As there are no known memory problems with DBD::MariaDB on OpenBSD systems
and nobody is able to debug them, disable those tests on OpenBSD for now.
  • Loading branch information
pali committed Oct 10, 2018
1 parent 833722d commit 7752126
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/60leaks.t
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ if (!$have_pt_size) {
plan skip_all => "module Proc::ProcessTable does not support size attribute on current platform\n";
}

plan skip_all => 'this test is not supported on OpenBSD platform' if $^O eq 'openbsd';

my ($dbh, $sth);
$dbh = DbiTestConnect($test_dsn, $test_user, $test_password,
{ RaiseError => 1, PrintError => 1, AutoCommit => 0 });
Expand Down
2 changes: 2 additions & 0 deletions t/rt86153-reconnect-fail-memory.t
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ if (!$have_pt_size) {
plan skip_all => "module Proc::ProcessTable does not support size attribute on current platform\n";
}

plan skip_all => 'this test is not supported on OpenBSD platform' if $^O eq 'openbsd';

my $dbh = DbiTestConnect($test_dsn, $test_user, $test_password, { RaiseError => 1, PrintError => 1, AutoCommit => 1 });

plan tests => 3;
Expand Down

0 comments on commit 7752126

Please sign in to comment.