Last active
August 29, 2015 14:06
-
-
Save TylerBrock/5f6b9e205b4d2fbbe060 to your computer and use it in GitHub Desktop.
Sample cucumber
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Driver failure recovery | |
In order to ensure the driver remains usable in the face of failures | |
As a driver author | |
I want the driver to recover in the event of failures | |
Scenario: Server is stopped and started | |
Given a cluster in the standalone server configuration | |
When I insert a document | |
Then the insert succeeds | |
When I stop the server | |
And I insert a document | |
Then the insert fails | |
When I start the server | |
And insert a document | |
Then the insert succeeds | |
Scenario: Server is restarted | |
Given a cluster in the standalone server configuration | |
When I insert a document | |
Then the insert succeeds | |
When I restart the server | |
And insert a document with retries | |
Then the insert succeeds (eventually) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment