zuul/zuul/driver
Guillaume Chauvel 954986c538 Fix FakeGerritRefWatcher and FakeGerritPoller events
Ib9e095430fa82be2327dcf7fd01ee4275b17415f introduced loops in "_run"
methods which have the side effect of events no longer being set.
Some tests are running until timeout expiration.

Test id                                                          Runtime
--------------------------------------------------------------  --------
tests.unit.test_gerrit.TestPolling.test_config_update            123.778
tests.unit.test_gerrit.TestPolling.test_post                     123.729
tests.unit.test_gerrit.TestChecksApi.test_new_patchset           123.635
tests.unit.test_gerrit.TestPolling.test_tag                      123.628

By changing the subclass method used to set event to one inside the
loop, notifications are restored.

Test id                                                          Runtime
--------------------------------------------------------------  --------
tests.unit.test_gerrit.TestPolling.test_config_update              5.246
tests.unit.test_gerrit.TestPolling.test_post                       5.252
tests.unit.test_gerrit.TestChecksApi.test_new_patchset             5.276
tests.unit.test_gerrit.TestPolling.test_tag                        5.247

Change-Id: I8c9ad6577d43b9b4866f83e4f8727615abf239c4
2021-04-16 21:47:06 +02:00
..
auth Bump pyjwt to 2.0.0 2021-01-14 12:35:18 +00:00
bubblewrap Stop bind mounting zuul dir into bwrap 2019-06-22 18:36:21 -04:00
elasticsearch Added timestamp field, changed duration field type; improve doc 2021-01-14 10:38:34 +01:00
gerrit Fix FakeGerritRefWatcher and FakeGerritPoller events 2021-04-16 21:47:06 +02:00
git Fix FakeGerritRefWatcher and FakeGerritPoller events 2021-04-16 21:47:06 +02:00
github Merge "Fix ZK-related race condition in github driver" 2021-04-08 21:54:02 +00:00
gitlab Merge "Gitlab: raise MergeFailure exception to retry a failing merge" 2021-04-08 08:10:40 +00:00
mqtt Add commit id and owner to Change for mqtt reporter 2020-09-22 10:26:15 +02:00
nullwrap Log cpu times of ansible executions 2018-07-14 10:32:06 +02:00
pagure Dispatch Pagure webhook events via Zookeeper 2021-03-26 16:11:53 +00:00
smtp Include ref info in smtp reporter subjects 2019-08-19 12:32:40 -07:00
sql Merge "Support emitting warnings via zuul_return" 2021-02-24 17:59:03 +00:00
timer Switch to Zookeeper backed trigger event queues 2021-03-18 09:24:09 +01:00
zuul Switch to Zookeeper backed trigger event queues 2021-03-18 09:24:09 +01:00
__init__.py Interface to get a driver's trigger event class 2021-03-18 09:23:49 +01:00
util.py Add driver-specific pipeline requirements 2017-05-19 13:24:00 -07:00