Re: Remove condition variables from injection wait logic.

2025-08-20 Thread Andrey Borodin
> On 21 Aug 2025, at 04:02, Michael Paquier wrote: > > I would not object to that if that's the actual consensus as we don't > have a strong requirement for condition variables when it comes to > testing. That's just a more efficient implementation, and it makes > the tests faster. If we do

Re: Remove condition variables from injection wait logic.

2025-08-20 Thread Michael Paquier
On Wed, Aug 20, 2025 at 11:20:11AM +0500, Kirill Reshke wrote: > $sub proposed in a nearby thread. Looks like we have a consensus that > $subj is beneficial. > I implemented necessary legwork, namely a clock-based check in the > wait() routine, PFA. I'm not sure the default pg_sleep argument of 50

Remove condition variables from injection wait logic.

2025-08-19 Thread Kirill Reshke
$sub proposed in a nearby thread. Looks like we have a consensus that $subj is beneficial. I implemented necessary legwork, namely a clock-based check in the wait() routine, PFA. I'm not sure the default pg_sleep argument of 50 millisecond is good, but it is fast enough to not spot any difference