Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
2e74da31
Commit
2e74da31
authored
Nov 16, 2021
by
Francesc Guasch
Browse files
wip(test): retry wait for ip just in case
parent
74414877
Changes
2
Hide whitespace changes
Inline
Side-by-side
t/nodes/10_basic.t
View file @
2e74da31
...
...
@@ -13,7 +13,7 @@ use Test::Ravada;
no
warnings
"
experimental::signatures
";
use
feature
qw(signatures)
;
my
$BASE_NAME
=
"
zz-test-base
";
my
$BASE_NAME
=
"
zz-test-base
-alpine
";
use_ok
('
Ravada
');
init
();
...
...
t/vm/92_ports.t
View file @
2e74da31
...
...
@@ -254,6 +254,7 @@ sub test_one_port($vm) {
# start
#
$domain
->
start
(
user
=>
user_admin
,
remote_ip
=>
$remote_ip
);
_wait_ip
(
$vm
,
$domain
);
delete_request
('
enforce_limits
');
wait_request
(
debug
=>
0
,
background
=>
0
);
...
...
@@ -399,7 +400,7 @@ sub test_crash_domain($vm_name) {
my
$client_ip
=
$domain
->
remote_ip
();
is
(
$client_ip
,
$remote_ip
);
_wait_ip
(
$vm
_name
,
$domain
);
_wait_ip
(
$vm
,
$domain
);
my
$domain_ip
=
$domain
->
ip
or
do
{
diag
("
[
$vm_name
] Expecting an IP for domain
"
.
$domain
->
name
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment