mirror of
https://github.com/i3/i3.git
synced 2026-02-04 08:05:29 +00:00
t/289-ipc-shutdown-event: remove AnyEvent timers
These were supposed to fail quickly instead of hanging, but in practice that is prone to flakiness. Let’s remove the timers to reduce flakiness. related to https://github.com/i3/i3/issues/3009
This commit is contained in:
committed by
Michael Stapelberg
parent
92345804dc
commit
3a6f17d738
@ -32,7 +32,6 @@ my $i3 = i3(get_socket_path());
|
||||
$i3->connect->recv;
|
||||
|
||||
my $cv = AnyEvent->condvar;
|
||||
my $timer = AnyEvent->timer(after => 0.5, interval => 0, cb => sub { $cv->send(0); });
|
||||
|
||||
$i3->subscribe({
|
||||
shutdown => sub {
|
||||
@ -53,7 +52,6 @@ $i3 = i3(get_socket_path());
|
||||
$i3->connect->recv;
|
||||
|
||||
$cv = AnyEvent->condvar;
|
||||
$timer = AnyEvent->timer(after => 0.5, interval => 0, cb => sub { $cv->send(0); });
|
||||
|
||||
$i3->subscribe({
|
||||
shutdown => sub {
|
||||
|
||||
Reference in New Issue
Block a user