Skip to content

Instantly share code, notes, and snippets.

@HowardvanRooijen
Last active August 29, 2015 14:16
Show Gist options
  • Save HowardvanRooijen/01f2ba97f8164b4bddfe to your computer and use it in GitHub Desktop.
Save HowardvanRooijen/01f2ba97f8164b4bddfe to your computer and use it in GitHub Desktop.
Scenario: Actor A attempts to execute a long running task whilst Actor B is currently running the task
Given the long running task takes 20 seconds to complete
And the lease name is "long-running-task"
And actor B is currently running the task
When Actor A executes the task
Then it should not throw any exceptions
And it should return successfully
And 2 actions should have completed successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment