zuul/tests/unit
Clark Boylan 6ef4f078aa Fix test_crd_check_unknown tests
These tests have a race where we rely on input events for unknown
projects in gerrit/github to populate our fake change and project
databases for those event sources. Before our dependent change is able
to be processed we need the parent change's event to be fully processed
and populate the database.

Without this we get database lookup errors which leads to us never
running jobs for the dependent change. When that happens we are unable
to properly assert the test conditions that the dependent change is
tested without the parent change.

Fix this by adding the parent change events, waiting for things to
settle, then adding the child change events.

Change-Id: I0641c44051d760c7be0f408f6b9b59222b8d4e90
2020-04-28 15:43:12 -07:00
..
__init__.py Move tests into test/unit 2017-01-24 10:18:38 -08:00
test_auth.py JWT drivers: Deprecate RS256withJWKS, introduce OpenIDConnect 2020-02-11 09:30:15 +00:00
test_bubblewrap.py Make most test cases work on MacOS 2020-02-20 12:59:38 +01:00
test_change_matcher.py Make files matcher match changes with no files 2019-08-23 18:59:29 +02:00
test_client.py test: prevent ResourceWarning in test_client 2020-01-22 12:56:07 +01:00
test_cmd.py Revert "Revert "Add the process environment to zuul.conf parser"" 2019-11-02 09:10:18 +09:00
test_configloader.py Use scheduler manager consistently in tests 2020-04-03 14:49:59 +02:00
test_connection.py Use scheduler manager consistently in tests 2020-04-03 14:49:59 +02:00
test_cross_crd.py Fix test_crd_check_unknown tests 2020-04-28 15:43:12 -07:00
test_daemon.py Remove unecessary shebang and exec bit 2018-07-26 07:12:24 +00:00
test_default_config.py Add type check for zuul conf 2018-12-10 19:24:50 +08:00
test_disk_accountant.py Optionally disable disk_limit_per_job 2019-02-22 08:10:59 +01:00
test_encryption.py Use nested tempfile fixture for cleanups 2018-02-06 15:18:45 -08:00
test_executor.py Filter secret ZUUL_ env variables from ansible env 2020-04-15 23:09:48 +02:00
test_gerrit.py Merge "Make github file annotation levels configurable via zuul return" 2020-04-06 18:28:12 +00:00
test_gerrit_crd.py Use scheduler manager consistently in tests 2020-04-03 14:49:59 +02:00
test_gerrit_legacy_crd.py Use scheduler manager consistently in tests 2020-04-03 14:49:59 +02:00
test_git_driver.py Use scheduler manager consistently in tests 2020-04-03 14:49:59 +02:00
test_github_crd.py Use scheduler manager consistently in tests 2020-04-03 14:49:59 +02:00
test_github_driver.py Merge "Make github file annotation levels configurable via zuul return" 2020-04-06 18:28:12 +00:00
test_github_requirements.py Implement basic github checks API workflow 2020-02-19 13:31:49 +01:00
test_gitlab_driver.py Gitlab - Implement the note event and the comment trigger action 2020-02-12 22:33:10 +00:00
test_inventory.py Refactor executor_client in tests 2020-04-03 14:49:59 +02:00
test_keystorage.py Add private key storage migration 2018-09-04 15:42:38 -07:00
test_lib_ansible.py ansible manager: only failed if last ansible failed 2020-02-04 15:06:00 +01:00
test_merger_repo.py Ensure correct cleanup on repo update and reset 2020-04-02 13:18:57 +02:00
test_model.py Revert "Revert "Add the process environment to zuul.conf parser"" 2019-11-02 09:10:18 +09:00
test_multi_driver.py Make test setup_config more pure 2020-02-28 11:50:22 +01:00
test_nodepool.py Add caching of autohold requests 2019-09-16 10:46:36 -04:00
test_openstack.py Remove unecessary shebang and exec bit 2018-07-26 07:12:24 +00:00
test_pagure_driver.py Use scheduler manager consistently in tests 2020-04-03 14:49:59 +02:00
test_push_reqs.py Make test setup_config more pure 2020-02-28 11:50:22 +01:00
test_requirements.py Fix reject clauses in the absence of approvals 2018-08-13 12:37:32 +02:00
test_scheduler.py Refactor zookeeper in tests 2020-04-03 14:49:59 +02:00
test_ssh_agent.py Add SSH Agent Primitives and usage 2017-05-26 09:52:22 -07:00
test_stack_dump.py Several executor threading fixes 2017-10-17 09:49:29 -07:00
test_streaming.py Add command processor to zuul-web 2019-06-21 18:11:40 +02:00
test_supercedent.py Check branches in supercedent pipelines 2019-04-05 13:59:05 -07:00
test_v3.py Refactor merge_client in tests 2020-04-03 14:49:59 +02:00
test_web.py Merge "OIDCAuthenticator: add capabilities, scope option" 2020-04-15 14:25:44 +00:00
test_web_urls.py Add command processor to zuul-web 2019-06-21 18:11:40 +02:00
test_zk.py Add caching of autohold requests 2019-09-16 10:46:36 -04:00
test_zuultrigger.py Use scheduler manager consistently in tests 2020-04-03 14:49:59 +02:00