Hi,

Since http://svn.apache.org/r1501224 FileNotFoundExceptions cause
Tests to be skipped.

best
Rupert


On Tue, Jul 9, 2013 at 1:39 PM, Rupert Westenthaler
<rupert.westentha...@gmail.com> wrote:
> On Mon, Jul 8, 2013 at 6:53 PM, Reto Bachmann-Gmür <r...@wymiwyg.com> wrote:
>> I think the build is failing again because of
>> http://www.linguagrid.org/LSGrid/ws/morpho-analyser 404s.
>>
>
> True. Normally the test should be skipped in such cases, but
> HttpUrlConnection does throw an FileNotFoundExceptions and this is not
> included in the list of cases that trigger the skipping of a test
> depending on a remote service.
>
> I will check with the Documentation of HttpUrlConnection and if it
> says that FileNotFoundExceptions  can indicate unavailable web
> services I will adopt the code accordingly.
>
> best
> Rupert
>
>> Cheers,
>> Reto
>>
>> On Tue, Sep 25, 2012 at 11:32 AM, Bertrand Delacretaz
>> <bdelacre...@apache.org> wrote:
>>> On Tue, Sep 25, 2012 at 11:18 AM, Fabian Christ
>>> <christ.fab...@googlemail.com> wrote:
>>>>... Maybe, we could mark those unit tests that access external resources
>>>> with some annotation that says: This unit test accesses an online
>>>> resource. Via some switch all those tests could be disabled if
>>>> desired....
>>>
>>> Yes, you could use the JUnit 4.8 Categories feature for that.
>>>
>>> -Bertrand
>
>
>
> --
> | Rupert Westenthaler             rupert.westentha...@gmail.com
> | Bodenlehenstraße 11                             ++43-699-11108907
> | A-5500 Bischofshofen



-- 
| Rupert Westenthaler             rupert.westentha...@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to