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

TST: Fix failing remote tests #7266

Merged
merged 5 commits into from
Mar 9, 2018
Merged

TST: Fix failing remote tests #7266

merged 5 commits into from
Mar 9, 2018

Conversation

pllim
Copy link
Member

@pllim pllim commented Mar 8, 2018

Fix #7264

If this works (i.e., make the remote data job green), I think we should merge this sooner than later. When it fails chronically, we tend to ignore it and then get caught by surprise by Numpy dev stuff (since that job runs remote data tests with Numpy dev).

@astropy-bot
Copy link

astropy-bot bot commented Mar 8, 2018

Hi there @pllim 👋 - thanks for the pull request! I'm just a friendly 🤖 that checks for issues related to the changelog and making sure that this pull request is milestoned and labeled correctly. This is mainly intended for the maintainers, so if you are not a maintainer you can ignore this, and a maintainer will let you know if any action is required on your part 😃.

Everything looks good from my point of view! 👍

If there are any issues with this message, please report them here.

@pllim
Copy link
Member Author

pllim commented Mar 8, 2018

Remote data/numpy dev job is green -- https://travis-ci.org/astropy/astropy/jobs/350942991

====== 10714 passed, 112 skipped, 94 xfailed, 2 xpassed in 371.40 seconds ======

The xpass is being addressed separately in #7267.

assert quantity_allclose(loc.lon, -74.0059*u.degree)
assert np.allclose(loc.height.value, 0.)

# Put this one here as buffer to get around Google map API limit per sec.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe write in the comment that this raises NameResolveError no matter whether google does or does not impose its limit.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mhvk , I added clarification. If this looks good to you, please approve so it can be merged. Thanks!

Copy link
Contributor

@mhvk mhvk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great; I hope this will solve the false positives. Only a request to clarify the comment...

Copy link
Contributor

@mhvk mhvk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks A-OK to me. Will merge.

@mhvk mhvk merged commit 1871b9c into astropy:master Mar 9, 2018
@mhvk
Copy link
Contributor

mhvk commented Mar 9, 2018

Hopefully the -dev + remove runs will now continue to pass for a while, so we can get some rest!

@pllim pllim deleted the skip-remote-tests branch March 9, 2018 18:38
@pllim
Copy link
Member Author

pllim commented Mar 9, 2018

@mhvk , I am not so sure... See #7267 (comment)

bsipocz pushed a commit that referenced this pull request Mar 12, 2018
@bsipocz
Copy link
Member

bsipocz commented Apr 20, 2018

I wish we had backported this to LTS. Given that this doesn't have a changelog, now I'm now backporting it to 2.0.6 retrospectively.

@bsipocz bsipocz modified the milestones: v3.0.1, v2.0.6 Apr 20, 2018
bsipocz pushed a commit that referenced this pull request Apr 20, 2018
@pllim
Copy link
Member Author

pllim commented Apr 20, 2018

Sorry for the inconvenience, @bsipocz !

@bsipocz
Copy link
Member

bsipocz commented Apr 20, 2018

No worries, it seemed to be a good idea at the time, but since then the remote test build started to collect all kind of failures, so retrospect it's better to backport all possible fixes there, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants