testTargetAddressFields() in 5.5 fails half the time
The test CRM_Report_Form_ActivityTest::testTargetAddressFields()
was added in 5.5. 5.5 is the current RC, and test is failing frequently -- about half the time. (Recent build history)
I think the problem traces to this line. Evidently, the ordering must be non-deterministic -- i.e. both India;United States
and United States;India
come up in practice.
I don't know if that variation is acceptable or not. If it is acceptable, then the simplest change would be to make the assertion a logical OR
(e.g. assert that $rows[0]['civicrm_address_country_id']
is either India;United States
or United States;India
). If the variation is significant... then I guess that would require something else...?
@monish.deb, can you figure out a patch for 5.5?