Commit e40d5b8a authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(frontend): do not return fast list on test

When in production we return a quick listing first, then
the full list. In the test we need the real thing right away.
parent 38df2414
...@@ -274,7 +274,7 @@ sub subscribe($self, %args) { ...@@ -274,7 +274,7 @@ sub subscribe($self, %args) {
, %args , %args
, ret => undef , ret => undef
}; };
if ( $args{channel} eq 'list_machines') { if ( $args{channel} eq 'list_machines' && $0 !~ /\.t$/) {
$self->_list_machines_fast($ws, $args{login}) $self->_list_machines_fast($ws, $args{login})
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment