| Title | Test suite doesn't cope with 'reporter' in replicated_fields |
| Status | closed |
| Priority | optional |
| Assigned user | Nick Barnes |
| Organization | Ravenbrook |
| Description | If you add 'reporter' 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 'reporter' field (required by the new jobspec, but not present in the migrated jobs). This was found when thinking about job000437. |
| Analysis | Add a condition in the translate_jobspec() function of that test, to add a reporter 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 | test_p4dti.py migrate |
| Created by | Nick Barnes |
| Created on | 2002-04-02 16:57:54 |
| Last modified by | Nick Barnes |
| Last modified on | 2002-04-09 12:53:12 |
| History | 2002-04-02 NB Created. |
| Change | Effect | Date | User | Description |
|---|---|---|---|---|
| 27801 | closed | 2002-04-02 17:05:14 | Nick Barnes | migration test needs to add 'Reporter' field in translate_jobspec. job000492. |