action #59100
Updated by tinita almost 5 years ago
If I put a `sleep 3` into the following code, then the t/full-stack.t test is failing.
Mojo::IOLoop->singleton->reactor->io($isotovideo => sub {
my ($reactor, $writable) = @_;
my @isotovideo_responses = myjsonrpc::read_json($isotovideo, undef, 1);
sleep 3; # <-------------------------------------------
...
})->watch($isotovideo, 1, 0); # watch only readable (and not writable)
The `set_pause_at_test` is sent via `myjsonrpc::send_json()`, but never read via `read_json()`.
https://github.com/os-autoinst/os-autoinst/blob/master/commands.pm#L325-L339