LocaleTest testIsFontAVailable

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

LocaleTest testIsFontAVailable

Eliot Miranda-2
Hmph...

ensureInternetConnectionTo: url 

"(Smalltalk classNamed: 'WebClient') httpGet: 'http://www.google.com'"
((Smalltalk classNamed: 'WebClient') httpGet: url) isSuccess
ifFalse: [Error signal: 'No internet connection available, but test requires one']
(Smalltalk classNamed: 'WebClient') httpGet: url WebResponse(HTTP/1.1 403 Forbidden
date: Fri, 17 Mar 2017 15:28:14 GMT
server: Apache/2.2.31
content-length: 206
content-type: text/html; charset=iso-8859-1

)

Can someone please fix this without assuming that the runner of the test has the credentials of a particular person?

_,,,^..^,,,_
best, Eliot


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LocaleTest testIsFontAVailable

Tobias Pape

> On 17.03.2017, at 16:30, Eliot Miranda <[hidden email]> wrote:
>
> Hmph...
>
> ensureInternetConnectionTo: url
>
> "(Smalltalk classNamed: 'WebClient') httpGet: 'http://www.google.com'"
> ((Smalltalk classNamed: 'WebClient') httpGet: url) isSuccess
> ifFalse: [Error signal: 'No internet connection available, but test requires one']
>
>
> (Smalltalk classNamed: 'WebClient') httpGet: url WebResponse(HTTP/1.1 403 Forbidden
> date: Fri, 17 Mar 2017 15:28:14 GMT
> server: Apache/2.2.31
> content-length: 206
> content-type: text/html; charset=iso-8859-1
>
> )
>
> Can someone please fix this without assuming that the runner of the test has the credentials of a particular person?

Well, lets use something we have control over, such as squeak.org?
Other than that, testing internet availability is hard, lets go shopping.

Best regards
        -Tobias

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LocaleTest testIsFontAVailable

Levente Uzonyi
In reply to this post by Eliot Miranda-2
Well, metatoys.org has been inaccessible lately. Other tests are failing
because of that too.
What's really annoying is that somehow those tests break TestRunner's
progress bar.

And yes, we should use something we have control over to host those files,
e.g. files.squeak.org.

Levente

On Fri, 17 Mar 2017, Eliot Miranda wrote:

> Hmph...
> ensureInternetConnectionTo: url 
>
> "(Smalltalk classNamed: 'WebClient') httpGet: 'http://www.google.com'"
> ((Smalltalk classNamed: 'WebClient') httpGet: url) isSuccess
> ifFalse: [Error signal: 'No internet connection available, but test requires one']
> (Smalltalk classNamed: 'WebClient') httpGet: url WebResponse(HTTP/1.1 403 Forbidden
> date: Fri, 17 Mar 2017 15:28:14 GMT
> server: Apache/2.2.31
> content-length: 206
> content-type: text/html; charset=iso-8859-1
>
> )
>
> Can someone please fix this without assuming that the runner of the test has the credentials of a particular person?
>
> _,,,^..^,,,_
> best, Eliot
>
>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LocaleTest testIsFontAVailable

Bert Freudenberg
Moving this to our own server is a good idea.

Do we have the files needed? Or do we need to ask Takashi for a backup?

- Bert -

On Fri, Mar 17, 2017 at 9:57 AM, Levente Uzonyi <[hidden email]> wrote:
Well, metatoys.org has been inaccessible lately. Other tests are failing because of that too.
What's really annoying is that somehow those tests break TestRunner's progress bar.

And yes, we should use something we have control over to host those files, e.g. files.squeak.org.

Levente


On Fri, 17 Mar 2017, Eliot Miranda wrote:

Hmph...
ensureInternetConnectionTo: url 

"(Smalltalk classNamed: 'WebClient') httpGet: 'http://www.google.com'"
((Smalltalk classNamed: 'WebClient') httpGet: url) isSuccess
ifFalse: [Error signal: 'No internet connection available, but test requires one']
(Smalltalk classNamed: 'WebClient') httpGet: url WebResponse(HTTP/1.1 403 Forbidden
date: Fri, 17 Mar 2017 15:28:14 GMT
server: Apache/2.2.31
content-length: 206
content-type: text/html; charset=iso-8859-1

)

Can someone please fix this without assuming that the runner of the test has the credentials of a particular person?

_,,,^..^,,,_
best, Eliot







Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LocaleTest testIsFontAVailable

Levente Uzonyi
As far as I know, we don't have the files.

Levente

On Fri, 17 Mar 2017, Bert Freudenberg wrote:

> Moving this to our own server is a good idea.
>
> Do we have the files needed? Or do we need to ask Takashi for a backup?
> - Bert -
>
> On Fri, Mar 17, 2017 at 9:57 AM, Levente Uzonyi <[hidden email]> wrote:
>       Well, metatoys.org has been inaccessible lately. Other tests are failing because of that too.
>       What's really annoying is that somehow those tests break TestRunner's progress bar.
>
>       And yes, we should use something we have control over to host those files, e.g. files.squeak.org.
>
>       Levente
>
>       On Fri, 17 Mar 2017, Eliot Miranda wrote:
>
>             Hmph...
>             ensureInternetConnectionTo: url 
>
>             "(Smalltalk classNamed: 'WebClient') httpGet: 'http://www.google.com'"
>             ((Smalltalk classNamed: 'WebClient') httpGet: url) isSuccess
>             ifFalse: [Error signal: 'No internet connection available, but test requires one']
>             (Smalltalk classNamed: 'WebClient') httpGet: url WebResponse(HTTP/1.1 403 Forbidden
>             date: Fri, 17 Mar 2017 15:28:14 GMT
>             server: Apache/2.2.31
>             content-length: 206
>             content-type: text/html; charset=iso-8859-1
>
>             )
>
>             Can someone please fix this without assuming that the runner of the test has the credentials of a particular person?
>
>             _,,,^..^,,,_
>             best, Eliot
>
>
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LocaleTest testIsFontAVailable

Eliot Miranda-2
Then let's just write code to add this as an expected failure if the server is unavailable.  I'll do this now.

On Fri, Mar 17, 2017 at 1:21 PM, Levente Uzonyi <[hidden email]> wrote:
As far as I know, we don't have the files.

Levente


On Fri, 17 Mar 2017, Bert Freudenberg wrote:

Moving this to our own server is a good idea.

Do we have the files needed? Or do we need to ask Takashi for a backup?
- Bert -

On Fri, Mar 17, 2017 at 9:57 AM, Levente Uzonyi <[hidden email]> wrote:
      Well, metatoys.org has been inaccessible lately. Other tests are failing because of that too.
      What's really annoying is that somehow those tests break TestRunner's progress bar.

      And yes, we should use something we have control over to host those files, e.g. files.squeak.org.

      Levente

      On Fri, 17 Mar 2017, Eliot Miranda wrote:

            Hmph...
            ensureInternetConnectionTo: url 

            "(Smalltalk classNamed: 'WebClient') httpGet: 'http://www.google.com'"
            ((Smalltalk classNamed: 'WebClient') httpGet: url) isSuccess
            ifFalse: [Error signal: 'No internet connection available, but test requires one']
            (Smalltalk classNamed: 'WebClient') httpGet: url WebResponse(HTTP/1.1 403 Forbidden
            date: Fri, 17 Mar 2017 15:28:14 GMT
            server: Apache/2.2.31
            content-length: 206
            content-type: text/html; charset=iso-8859-1

            )

            Can someone please fix this without assuming that the runner of the test has the credentials of a particular person?

            _,,,^..^,,,_
            best, Eliot












--
_,,,^..^,,,_
best, Eliot


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LocaleTest testIsFontAVailable

Eliot Miranda-2
oops.  Much more difficult than I realised.  Ignore me.

On Fri, Mar 17, 2017 at 2:17 PM, Eliot Miranda <[hidden email]> wrote:
Then let's just write code to add this as an expected failure if the server is unavailable.  I'll do this now.

On Fri, Mar 17, 2017 at 1:21 PM, Levente Uzonyi <[hidden email]> wrote:
As far as I know, we don't have the files.

Levente


On Fri, 17 Mar 2017, Bert Freudenberg wrote:

Moving this to our own server is a good idea.

Do we have the files needed? Or do we need to ask Takashi for a backup?
- Bert -

On Fri, Mar 17, 2017 at 9:57 AM, Levente Uzonyi <[hidden email]> wrote:
      Well, metatoys.org has been inaccessible lately. Other tests are failing because of that too.
      What's really annoying is that somehow those tests break TestRunner's progress bar.

      And yes, we should use something we have control over to host those files, e.g. files.squeak.org.

      Levente

      On Fri, 17 Mar 2017, Eliot Miranda wrote:

            Hmph...
            ensureInternetConnectionTo: url 

            "(Smalltalk classNamed: 'WebClient') httpGet: 'http://www.google.com'"
            ((Smalltalk classNamed: 'WebClient') httpGet: url) isSuccess
            ifFalse: [Error signal: 'No internet connection available, but test requires one']
            (Smalltalk classNamed: 'WebClient') httpGet: url WebResponse(HTTP/1.1 403 Forbidden
            date: Fri, 17 Mar 2017 15:28:14 GMT
            server: Apache/2.2.31
            content-length: 206
            content-type: text/html; charset=iso-8859-1

            )

            Can someone please fix this without assuming that the runner of the test has the credentials of a particular person?

            _,,,^..^,,,_
            best, Eliot












--
_,,,^..^,,,_
best, Eliot



--
_,,,^..^,,,_
best, Eliot


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LocaleTest testIsFontAVailable

Levente Uzonyi
In reply to this post by Eliot Miranda-2
Don't spend too many cycles on this. IIRC the test case would fail even if
the site were up.

Levente

On Fri, 17 Mar 2017, Eliot Miranda wrote:

> Then let's just write code to add this as an expected failure if the server is unavailable.  I'll do this now.
>
> On Fri, Mar 17, 2017 at 1:21 PM, Levente Uzonyi <[hidden email]> wrote:
>       As far as I know, we don't have the files.
>
>       Levente
>
>       On Fri, 17 Mar 2017, Bert Freudenberg wrote:
>
>             Moving this to our own server is a good idea.
>
>             Do we have the files needed? Or do we need to ask Takashi for a backup?
>             - Bert -
>
>             On Fri, Mar 17, 2017 at 9:57 AM, Levente Uzonyi <[hidden email]> wrote:
>                   Well, metatoys.org has been inaccessible lately. Other tests are failing because of that too.
>                   What's really annoying is that somehow those tests break TestRunner's progress bar.
>
>                   And yes, we should use something we have control over to host those files, e.g. files.squeak.org.
>
>                   Levente
>
>                   On Fri, 17 Mar 2017, Eliot Miranda wrote:
>
>                         Hmph...
>                         ensureInternetConnectionTo: url 
>
>                         "(Smalltalk classNamed: 'WebClient') httpGet: 'http://www.google.com'"
>                         ((Smalltalk classNamed: 'WebClient') httpGet: url) isSuccess
>                         ifFalse: [Error signal: 'No internet connection available, but test requires one']
>                         (Smalltalk classNamed: 'WebClient') httpGet: url WebResponse(HTTP/1.1 403 Forbidden
>                         date: Fri, 17 Mar 2017 15:28:14 GMT
>                         server: Apache/2.2.31
>                         content-length: 206
>                         content-type: text/html; charset=iso-8859-1
>
>                         )
>
>                         Can someone please fix this without assuming that the runner of the test has the credentials of a particular person?
>
>                         _,,,^..^,,,_
>                         best, Eliot
>
>
>
>
>
>
>
>
>
>
>
>
> --
> _,,,^..^,,,_
> best, Eliot
>
>

Loading...