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

Steve Loughran commented on SLIDER-1031:
----------------------------------------

... and on the windows prompt,{{nc}} is not recognised.

Hypothesis: this test needs {{nc}} on the path.

The test is actually meant to skip on windows, with a call to 
{{assumeNotWindows()}}. 
However, this *skips the test if it is the client that is on windows*

It does nothing if the test is running locally, but the remote cluster is 
windows.

The way to fix this would be to dynamically determine the destination OS (it 
could be inferred from a GET of http://rm/conf, read of the config and a look 
for a backslash in the path for HDFS data, or %*% entries in the various 
classpath properties.

That's complex and potentially brittle.

A simpler solution: have an XML config option which says whether or not an IT 
cluster is a windows. It will default to the same OS as the local system


> AgentPingSocketIT.testAgentRegistry failing on windows
> ------------------------------------------------------
>
>                 Key: SLIDER-1031
>                 URL: https://issues.apache.org/jira/browse/SLIDER-1031
>             Project: Slider
>          Issue Type: Bug
>          Components: test
>    Affects Versions: Slider 0.90
>         Environment: windows (steve's Morzine server)
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>             Fix For: Slider 0.90
>
>
> {{AgentPingSocketIT.testAgentRegistry}} failing
> Logs in server imply the problem is {{nc}} isn't found



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

Reply via email to