i have encountered a problem which i am trying unsuccessfully to solve for two days.
When infra try to execute via CLI interface a command with wide output a timeout exception is thrown,
i have tried enlarging the timeout to 3,4 minutes but the problem still unresolved .
Any Help ?
when manually trying to execute the command in windows CLI it executed in seconds .
In My Case it seems That it recycle The output ( Empty !!!) so it throws exception.
what is the form of the output of the command? singleline? multiline? what is the avg length of the lines?
how many prompts you have? are you using regexp prompts?
The output is in multiline form (See attached txt for example) .
The average length is about 600 characters in each line, The only prompt i have is ">" which is the prompt of the sqllite ( i have also tried the following regular expression as a prompt : "\n|\t")
below my code ( even with disabled prompt) :
cliCommand = new CliCommand(command);
handleCliCommand(this.title + " " + title,cliCommand);
output = getTestAgainstObject().toString();
please try to disable the "cliCommand.setDontWaitForPrompts(true);" part and also please use the following regexp prompt:
didn't work ! .
i have done a walk around solution by reading in each iteration 20 lines from the output , then gathering all the output together .
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.