Re: [PATCH 1/3] tests/unit/test-qmp-event: Drop superfluous mutex

2023-11-22 Thread Thomas Huth
On 22/11/2023 08.24, Markus Armbruster wrote: Mutex @test_event_lock is held from fixture setup to teardown, protecting global variable @test_event_data. But tests always run one after the other, so this is superfluous. It also confuses Coverity. Drop the mutex. Fixes: CID 1527425 Signed-off-b

[PATCH 1/3] tests/unit/test-qmp-event: Drop superfluous mutex

2023-11-21 Thread Markus Armbruster
Mutex @test_event_lock is held from fixture setup to teardown, protecting global variable @test_event_data. But tests always run one after the other, so this is superfluous. It also confuses Coverity. Drop the mutex. Fixes: CID 1527425 Signed-off-by: Markus Armbruster --- tests/unit/test-qmp-e