Title | Test suite doesn't cope with 'qa_contact' in replicated_fields |
Status | closed |
Priority | optional |
Assigned user | Nick Barnes |
Organization | Ravenbrook |
Description | If you add 'qa_contact' to replicated_fields in test/config_swan.py, the test suite fails in test_p4dti.py:migrate, saying there's no Bugzilla user corresponding to Perforce user ''. This is because the translate_jobspec function provided by that test doesn't provide a 'QA_Contact' field (required by the new jobspec, but not present in the migrated jobs). This was found when thinking about job000437. It's a lot like job000492. |
Analysis | Add a condition in the translate_jobspec() function of that test, to add a QA_Contact to the job if it is required by the replicated_fields parameter. |
How found | inspection |
Evidence | I just know. |
Observed in | 1.4.0 |
Introduced in | 1.3.0 |
Created by | Nick Barnes |
Created on | 2002-04-03 14:30:11 |
Last modified by | Nick Barnes |
Last modified on | 2002-04-09 12:53:29 |
History | 2002-04-03 NB Created. |
Change | Effect | Date | User | Description |
---|---|---|---|---|
27824 | closed | 2002-04-03 14:31:03 | Nick Barnes | migration test check for qa_contact field. |