P4DTI issue job000492

TitleTest suite doesn't cope with 'reporter' in replicated_fields
Assigned userNick Barnes
DescriptionIf 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.
AnalysisAdd 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 foundinspection
EvidenceI just know
Observed in1.4.0
Introduced in1.3.0
Test proceduretest_p4dti.py migrate
Created byNick Barnes
Created on2002-04-02 16:57:54
Last modified byNick Barnes
Last modified on2002-04-09 12:53:12
History2002-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.