zuul/tests
James E. Blair 10966948d7 Add ExistingDataWatch class
This adds a modified kazoo.DataWatch class which does not set
watches on paths that don't exist.  This is mostly so that when
a DataWatched path is deleted, we don't leave a watch in place.
Without that, the executor api will leak watches on the ZK cluster.

We vendor the entire watches.py file from kazoo (ASL2 licensed) to
avoid any issues with API changes.  Separately we will see if they
are interested in this class upstream.

This updates the tests to use the wchp 4lw to test that we don't
leak watches.

Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/799334
Change-Id: Ie4491eef03b58d858d95c78ba9454839d169cff1
2021-07-02 15:22:29 -07:00
..
fixtures Add skipped / neutral statuses to the github driver 2021-06-25 14:48:16 -04:00
nodepool Provide statsd client to Nodepool and make scheduler optional 2021-04-30 12:12:28 +02:00
remote Fix zuul client and remote tests 2021-06-24 11:36:17 -07:00
unit Add ExistingDataWatch class 2021-07-02 15:22:29 -07:00
zuul_client Fix zuul client and remote tests 2021-06-24 11:36:17 -07:00
__init__.py Add non-voting jobs. 2012-08-23 23:20:09 +00:00
base.py Merge "Add comment for test method" 2021-07-02 03:47:13 +00:00
encrypt_secret.py Make tests' encrypt_secret.py work with python3 2017-10-19 18:09:57 +00:00
fake_graphql.py Fetch can-merge info when updating a pull-request 2020-09-23 12:03:55 +02:00
fakegithub.py Save superfluous api requests in check run reporting 2020-11-04 08:52:28 +01:00
make_playbooks.py Use libyaml if possible 2017-04-04 11:49:05 -07:00
print_layout.py Do not add implied branch matchers in project-templates 2017-09-30 10:19:07 -07:00