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

Hari Shreedharan commented on FLUME-1297:
-----------------------------------------

There is already a sleep for 3000 ms. I am seeing failures quite consistently 
when HBASE_HOME is set. When HBASE_HOME is not set the test works fine. I guess 
this is because when HBASE_HOME is set, the script takes longer to start the 
agent itself, because of the extra processing it does. Maybe we should clear 
all the environment variables instead? 

When we add tests which require environment variables it should set them up 
anyway and we can increase the sleeps at that time. Does that make sense?
                
> Flume tests should wait for a few seconds for agent to start.
> -------------------------------------------------------------
>
>                 Key: FLUME-1297
>                 URL: https://issues.apache.org/jira/browse/FLUME-1297
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Hari Shreedharan
>
> The tests fail intermittently because the agent has not started up when the 
> test client tries to connect. Adding a sleep for a few seconds for Avro to 
> start up should fix it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to