Ravenbrook / Projects / Perforce Defect Tracking Integration / Issues
Perforce Defect Tracking Integration
| Title: | Test suite doesn't cope with 'qa_contact' in replicated_fields |
| Status: | closed |
| Priority: | optional |
| Assigned user: | Nick Barnes |
| Product: | p4dti |
| 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 |
| Test procedure: | none |
| 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. |
Generated at 2008-12-01 21:35:58 by $Id: //info.ravenbrook.com/infosys/cgi/issue.cgi#430 $
Copyright © Ravenbrook Limited. This document is provided "as is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this document. You may make and distribute verbatim copies of this document provided that you do not charge a fee for this document or for its distribution.