Skip to content

Commit

Permalink
wip: force connect to node while testing
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed Jun 14, 2024
1 parent ad574ab commit 3e7cfb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/Ravada/VM.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1719,6 +1719,7 @@ sub is_active($self, $force=0) {

sub _do_is_active($self, $force=undef) {
my $ret = 0;
$self->_data('cached_down' => 0);
if ( $self->is_local ) {
eval {
$ret = 1 if $self->vm;
Expand Down
2 changes: 1 addition & 1 deletion t/lib/Test/Ravada.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2228,7 +2228,7 @@ sub start_node($node) {
my $is_active;
for ( 1 .. 90 ) {
Ravada::Request->connect_node(uid => user_admin->id
,id_vm => $node->id
,id_node => $node->id
);
wait_request();
eval {
Expand Down

0 comments on commit 3e7cfb5

Please sign in to comment.