You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Valentin Mahrwald (JIRA)" <ji...@apache.org> on 2010/06/06 11:00:53 UTC

[jira] Created: (ARIES-332) Blueprint itests fail on some machines with slow internet connection

Blueprint itests fail on some machines with slow internet connection
--------------------------------------------------------------------

                 Key: ARIES-332
                 URL: https://issues.apache.org/jira/browse/ARIES-332
             Project: Aries
          Issue Type: Bug
          Components: Blueprint
    Affects Versions: 0.1
            Reporter: Valentin Mahrwald
            Priority: Minor


The reason for the failure is the managed property place holder in the blueprint sample bundle that refers to a properties file at "file://url".

Now calling URL#openStream() on such a URL usually fails fast. However, on at least one machine / internet connection it only fails after more than a minute. This not only causes several tests to break but also means that the whole suite takes several minutes to run. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (ARIES-332) Blueprint itests fail on some machines with slow internet connection

Posted by "Valentin Mahrwald (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Valentin Mahrwald resolved ARIES-332.
-------------------------------------

    Fix Version/s: 0.2
       Resolution: Fixed

Resolved according to Bartek's suggestion.

> Blueprint itests fail on some machines with slow internet connection
> --------------------------------------------------------------------
>
>                 Key: ARIES-332
>                 URL: https://issues.apache.org/jira/browse/ARIES-332
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: 0.1
>            Reporter: Valentin Mahrwald
>            Assignee: Valentin Mahrwald
>            Priority: Minor
>             Fix For: 0.2
>
>
> The reason for the failure is the managed property place holder in the blueprint sample bundle that refers to a properties file at "file://url".
> Now calling URL#openStream() on such a URL usually fails fast. However, on at least one machine / internet connection it only fails after more than a minute. This not only causes several tests to break but also means that the whole suite takes several minutes to run. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ARIES-332) Blueprint itests fail on some machines with slow internet connection

Posted by "Valentin Mahrwald (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ARIES-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876032#action_12876032 ] 

Valentin Mahrwald commented on ARIES-332:
-----------------------------------------

Hi Bartek,

thanks for the suggestion, works like a charm.

My initial experiments were something like "file://some/non/existent/url", which also fails fast. But I wanted to check back why the file url handler goes to the network at all before committing a change.

Best regards,

Valentin

> Blueprint itests fail on some machines with slow internet connection
> --------------------------------------------------------------------
>
>                 Key: ARIES-332
>                 URL: https://issues.apache.org/jira/browse/ARIES-332
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: 0.1
>            Reporter: Valentin Mahrwald
>            Assignee: Valentin Mahrwald
>            Priority: Minor
>             Fix For: 0.2
>
>
> The reason for the failure is the managed property place holder in the blueprint sample bundle that refers to a properties file at "file://url".
> Now calling URL#openStream() on such a URL usually fails fast. However, on at least one machine / internet connection it only fails after more than a minute. This not only causes several tests to break but also means that the whole suite takes several minutes to run. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (ARIES-332) Blueprint itests fail on some machines with slow internet connection

Posted by "Valentin Mahrwald (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Valentin Mahrwald reassigned ARIES-332:
---------------------------------------

    Assignee: Valentin Mahrwald

> Blueprint itests fail on some machines with slow internet connection
> --------------------------------------------------------------------
>
>                 Key: ARIES-332
>                 URL: https://issues.apache.org/jira/browse/ARIES-332
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: 0.1
>            Reporter: Valentin Mahrwald
>            Assignee: Valentin Mahrwald
>            Priority: Minor
>
> The reason for the failure is the managed property place holder in the blueprint sample bundle that refers to a properties file at "file://url".
> Now calling URL#openStream() on such a URL usually fails fast. However, on at least one machine / internet connection it only fails after more than a minute. This not only causes several tests to break but also means that the whole suite takes several minutes to run. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ARIES-332) Blueprint itests fail on some machines with slow internet connection

Posted by "Bartosz Kowalewski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ARIES-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876031#action_12876031 ] 

Bartosz Kowalewski commented on ARIES-332:
------------------------------------------

Hi Valentin,

I think that the purpose of this malformed URL is to just check nonexistent location and it does not need to be a remote one. Instead of using "file://url" which causes FTP handler to be used, these tests could use "file:///url". Blueprint would then search for nonexistent file in the local filesystem. The result would be the same, but network env would not be used at all.

Best regards,
  Bartek

> Blueprint itests fail on some machines with slow internet connection
> --------------------------------------------------------------------
>
>                 Key: ARIES-332
>                 URL: https://issues.apache.org/jira/browse/ARIES-332
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: 0.1
>            Reporter: Valentin Mahrwald
>            Priority: Minor
>
> The reason for the failure is the managed property place holder in the blueprint sample bundle that refers to a properties file at "file://url".
> Now calling URL#openStream() on such a URL usually fails fast. However, on at least one machine / internet connection it only fails after more than a minute. This not only causes several tests to break but also means that the whole suite takes several minutes to run. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.