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:
Michael Stapelberg
2025-12-22 16:43:43 +01:00
committed by Michael Stapelberg
parent 92345804dc
commit 3a6f17d738

View File

@ -32,7 +32,6 @@ my $i3 = i3(get_socket_path());
$i3->connect->recv; $i3->connect->recv;
my $cv = AnyEvent->condvar; my $cv = AnyEvent->condvar;
my $timer = AnyEvent->timer(after => 0.5, interval => 0, cb => sub { $cv->send(0); });
$i3->subscribe({ $i3->subscribe({
shutdown => sub { shutdown => sub {
@ -53,7 +52,6 @@ $i3 = i3(get_socket_path());
$i3->connect->recv; $i3->connect->recv;
$cv = AnyEvent->condvar; $cv = AnyEvent->condvar;
$timer = AnyEvent->timer(after => 0.5, interval => 0, cb => sub { $cv->send(0); });
$i3->subscribe({ $i3->subscribe({
shutdown => sub { shutdown => sub {