Skip to content

wonky test: TestGoogle:test_get_multi1 #4242

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

Closed
jreback opened this issue Jul 15, 2013 · 14 comments
Closed

wonky test: TestGoogle:test_get_multi1 #4242

jreback opened this issue Jul 15, 2013 · 14 comments
Labels
IO Data IO issues that don't fit into a more specific label IO Network Local or Cloud (AWS, GCS, etc.) IO Issues Testing pandas testing functions or related to the test suite Unreliable Test Unit tests that occasionally fail
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Jul 15, 2013

https://travis-ci.org/pydata/pandas/jobs/9095624

cc @cpcloud @jtratner

@cpcloud
Copy link
Member

cpcloud commented Jul 15, 2013

should we just remove all equality testing in these tests then?

@jreback
Copy link
Contributor Author

jreback commented Jul 15, 2013

it looks like a legit test, but if one of the series say has NaN in it (because google decided to not give you data for some reason) this will fail....a possible outcome

I guess skip

@cpcloud
Copy link
Member

cpcloud commented Jul 15, 2013

skip if not equal? that makes the test sort of invalid...raise on any are nans maybe? what exactly were you thinking?

@jreback
Copy link
Contributor Author

jreback commented Jul 15, 2013

this test shouldn't fail....what I am saying is it was prob a fluke and maybe some/all nan's got returned in one of the series, more of a remote data error...maybe just leave it...I haven't seen before, you?

@cpcloud
Copy link
Member

cpcloud commented Jul 15, 2013

nah i haven't seen this exact error, but similar eq comp failures. maybe only check equality if no nans?

@cpcloud
Copy link
Member

cpcloud commented Jul 15, 2013

personally, i think all the comparisons should be removed (i.e., just check to see that they succeed in the call or throw RemoteDataError)...but that might be a little too drastic.

@jreback
Copy link
Contributor Author

jreback commented Jul 15, 2013

the problem here is that something was returned just not clear exactly what (could be nan, partially invalid, 0, who knows)

maybe just skip for now and mark for review in 0.13

@cpcloud
Copy link
Member

cpcloud commented Jul 15, 2013

ok marking for 0.13

@cpcloud
Copy link
Member

cpcloud commented Jul 21, 2013

similar yahoo failures

https://travis-ci.org/jtratner/pandas/jobs/9314450

cc @jtratner

@jtratner
Copy link
Contributor

@cpcloud weird thought: what if the network decorator defaulted to running a test a second time if it fails with any non-IO error? (at least that last travis issue looks like it could have come from a bad request...).

@cpcloud
Copy link
Member

cpcloud commented Jul 25, 2013

@jtratner good idea...want to submit a pr for that 😄 ?

@jtratner
Copy link
Contributor

@cpcloud sure, I can try setting this up this weekend.

@jreback
Copy link
Contributor Author

jreback commented Sep 20, 2013

@cpcloud these look all fixed?

@cpcloud
Copy link
Member

cpcloud commented Oct 9, 2013

closed by #5073

@cpcloud cpcloud closed this as completed Oct 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO Data IO issues that don't fit into a more specific label IO Network Local or Cloud (AWS, GCS, etc.) IO Issues Testing pandas testing functions or related to the test suite Unreliable Test Unit tests that occasionally fail
Projects
None yet
Development

No branches or pull requests

3 participants