zuul/zuul/driver/git
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
..
__init__.py Interface to get a driver's trigger event class 2021-03-18 09:23:49 +01:00
gitconnection.py Switch to Zookeeper backed trigger event queues 2021-03-18 09:24:09 +01:00
gitmodel.py Merge "Fix GitEventFilter.__init__" 2019-07-18 13:54:09 +00:00
gitsource.py Allow refreshing volatile data in canMerge check 2021-03-01 18:45:02 +00:00
gittrigger.py Git driver 2017-12-15 14:32:40 +01:00
gitwatcher.py Fix FakeGerritRefWatcher and FakeGerritPoller events 2021-04-16 21:47:06 +02:00