Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test only fix, new test needs altering] Change geocoder message check. #11664

Merged
merged 1 commit into from
Feb 13, 2018

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Attempt to fix intermittent test failure

Before

Stacktrace
CRM_Utils_GeocodeTest::testGeocodeMethodOff
CiviCRM_API3_Exception: Aborting batch geocoding. Hit the over query limit on geocoder.

/home/jenkins/buildkit/build/core-11519-5wgxy/sites/all/modules/civicrm/api/api.php:45
/home/jenkins/buildkit/build/core-11519-5wgxy/sites/all/modules/civicrm/tests/phpunit/CRM/Utils/GeocodeTest.php:62
/home/jenkins/buildkit/build/core-11519-5wgxy/sites/all/modules/civicrm/tests/phpunit/CiviTest/CiviUnitTestCase.php:184
/home/jenkins/buildkit/bin/phpunit4:545

After

Hopefully the above won't recur

Technical Details

Comments

We should be using a dummy geocoder - but since we are not let's at least check for the correct message

We should be using a dummy geocoder - but since we are not let's at least check for the correct message
@eileenmcnaughton eileenmcnaughton merged commit 8c06bc2 into civicrm:master Feb 13, 2018
@eileenmcnaughton
Copy link
Contributor Author

self merging as test only

@eileenmcnaughton eileenmcnaughton deleted the geo branch February 13, 2018 20:36
@eileenmcnaughton eileenmcnaughton changed the title Change geocoder message check. [test only fix, new test needs altering] Change geocoder message check. Feb 13, 2018
@mlutfy mlutfy added this to the 4.7.31 milestone Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants