Skip to content

Commit

Permalink
tests: improve reliability
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Apr 10, 2024
1 parent c21c0a3 commit 8dbcf6e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion t/scenarios/backend_mixed_source/t/301-config-tool.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use Cpanel::JSON::XS qw/decode_json/;
use Test::More;

BEGIN {
plan tests => 247;
plan tests => 250;

use lib('t');
require TestUtils;
Expand Down Expand Up @@ -32,6 +32,10 @@ _test_page({
});
_test_page({
# verify configuration from config tool
url => 'GET /hosts/<name>/config',
waitfor => 'example.cfg',
});
_test_page({
url => 'GET /hosts/<name>/config',
like => ['"alias" : "localhost",', '"address" : "127.0.0.1",', '/omd/sites/demo/etc/naemon/conf.d/example.cfg:1'],
});
Expand Down

0 comments on commit 8dbcf6e

Please sign in to comment.