zuul/tests
James E. Blair a8b90b3809 Always create foreign projects if needed
If Zuul encounters a project it does not know about via a
cross-repo dependency (CRD), it creates a record of it in memory
and refers to it as a foreign project.  In some cases, if Zuul
received an event for a change in a project *before* it processed
a CRD reference for the project, it would cache that change with
the associated project set to None, and the subsequent CRD
processing would fail to create the foreign project.

Resolve this by simply always creating a foreign project if it is
needed.  It's not obvious why we would ever not want to do that.

Change-Id: I4e6d5cb1f17e80879c23414ce45c66572dbc1d3e
2016-08-24 15:18:50 -07:00
..
cmd Add tests for --cache-dir option 2015-09-04 18:28:59 +00:00
fixtures Merge "Add extra test for bad url patterns" 2016-07-12 23:20:21 +00:00
__init__.py Add non-voting jobs. 2012-08-23 23:20:09 +00:00
base.py Merge "Expose webapp listen_address and port" 2016-07-12 23:31:02 +00:00
test_change_matcher.py Don't take into account commit message for skip-if filter 2016-05-24 13:31:26 +00:00
test_clonemapper.py cloner to easily clone dependent repositories 2014-07-29 09:03:59 +00:00
test_cloner.py Support post jobs by supporting rev checkout 2016-07-12 12:51:51 +10:00
test_connection.py Add in extra connections tests 2015-12-06 14:48:32 +11:00
test_daemon.py Add daemon test 2015-01-05 14:56:54 -08:00
test_gerrit.py Add support for 'connection' concept 2015-12-06 14:48:32 +11:00
test_layoutvalidator.py Python 3 Fixes: use six.moves.configparser 2016-06-07 17:59:07 +00:00
test_merger_repo.py Merger: ensure_cloned() now looks for '.git' 2015-02-10 12:44:23 +01:00
test_model.py Merge "Don't take into account commit message for skip-if filter" 2016-07-12 23:08:42 +00:00
test_reporter.py Add support for 'connection' concept 2015-12-06 14:48:32 +11:00
test_requirements.py Add support to reject changes from approvals 2015-12-06 14:48:26 +11:00
test_scheduler.py Always create foreign projects if needed 2016-08-24 15:18:50 -07:00
test_source.py Add base class for sources 2015-12-06 14:48:31 +11:00
test_stack_dump.py Factor out common code between cli utilities 2014-05-06 13:21:00 +00:00
test_trigger.py Add support for 'connection' concept 2015-12-06 14:48:32 +11:00
test_webapp.py Python 3 Fix: use six.moves.urillib 2016-06-06 23:58:37 +00:00
test_zuultrigger.py Update default merge failed error to mention CRD 2015-06-15 21:23:19 +00:00