[ 
https://jira.codehaus.org/browse/JBEHAVE-713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=291876#comment-291876
 ] 

Mauro Talevi commented on JBEHAVE-713:
--------------------------------------

Can't seem to reproduce the issue.   My steps:

{code}
mvn clean install -Pexamples
cd examples/trader-runner
mvn jetty:run-war
{code}

Open http://localhost:8080/trader-runner/story/run

First run passes with 
{code}
Scenario:
Given a threshold of 10.0
When the stock is traded at 5.0
Then the alert status should be OFF
When the stock is traded at 11.0
Then the alert status should be ON
{code}

Second run fails with 

{code}
Scenario:
Given a threshold of 10.0
When the stock is traded at 15.0
Then the alert status should be OFF
When the stock is traded at 11.0
Then the alert status should be ON
{code}

Third run passes with params of first run.

Are you using run or submit (i.e. async running)? 



                
> Web Runner results leak between invocations
> -------------------------------------------
>
>                 Key: JBEHAVE-713
>                 URL: https://jira.codehaus.org/browse/JBEHAVE-713
>             Project: JBehave
>          Issue Type: Bug
>          Components: Web Runner
>            Reporter: Paul Hammant
>             Fix For: web-3.5
>
>
> Take a story that passes:
> {noformat} 
> Scenario:
> Given a threshold of 10.0
> When the stock is traded at 5.0
> Then the alert status should be OFF
> When the stock is traded at 11.0
> Then the alert status should be ON
> {noformat}
> Confirm it passes.  Change it so that it does not pass.  In this case, change 
> 5.0 to 888.  The re-run.  
> Note that it fails as expected. 
> Change it back to the 'passing' grammar again, and re-run.
> Note that it apparently fails.  Any repeated clicking of the 'run' button 
> shows the failed results again and again :-(

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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to