libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Crunkleton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LIBCLOUD-776) Google Storage tests take forever on a Mac
Date Wed, 02 Dec 2015 05:23:11 GMT

    [ https://issues.apache.org/jira/browse/LIBCLOUD-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15035297#comment-15035297
] 

Scott Crunkleton commented on LIBCLOUD-776:
-------------------------------------------

It turns out that Python 2.6 unittests do not have setUpClass. My implementation of GoogleTestCase
can just as well do what it needs to do in setUp instead of setUpClass, but I was hoping to
avoid the unnecessary overhead of running for EVERY unit test case.

> Google Storage tests take forever on a Mac
> ------------------------------------------
>
>                 Key: LIBCLOUD-776
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-776
>             Project: Libcloud
>          Issue Type: Bug
>            Reporter: Greg Hill
>
> If you run tox on a Mac, the google storage tests take forever.  I tracked it down to
the _is_gce() method making an HTTP GET request against http://metadata - for some reason
this is slow on a mac but fails fast on linux.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message