Skip to content

Instantly share code, notes, and snippets.

@cp16net
Created March 16, 2016 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cp16net/c3360f8358f72ef08d99 to your computer and use it in GitHub Desktop.
Save cp16net/c3360f8358f72ef08d99 to your computer and use it in GitHub Desktop.
DatabaseActionsGroup
Create an instance with initial databases. OK 13.60
Create databases on an existing instance. OK 0.70
List the created databases. FAIL
Ensure creating a database with blank specification fails. OK 0.12
Ensure creating a database with blank name fails. OK 0.16
Ensure creating an existing database fails. OK 0.11
Delete the created databases. OK 2.69
Delete non-existing databases. OK 0.80
Ensure creating a system database fails. FAIL
Ensure deleting a system database fails. FAIL
Waiting for all instances to become active. OK 70.76
Add data to the initialized instance. SKIP: Data function 'add_actual_data' not found in 'CouchdbHelper'
Validate the initialized instance data and properties. SKIP: Data function 'verify_actual_data' not found in 'CouchdbHelper'
Delete the initialized instance. OK 20.87
RootActionsGroup
Check the root has never been enabled on the instance. OK 0.82
Ensure disable fails if root was never enabled. ERROR
Enable root (without specifying a password). ERROR
Check the root is now enabled. SKIP: Failure in <function enable_root_no_password at 0x7fb6ab8ce410>
Backup the root-enabled instance. SKIP: Failure in <function enable_root_no_password at 0x7fb6ab8ce410>
Restore the root-enabled instance. SKIP: Failure in <function enable_root_no_password at 0x7fb6ab8ce410>
Ensure an attempt to delete the root user fails. SKIP: Failure in <function enable_root_no_password at 0x7fb6ab8ce410>
Enable root (with a given password). ERROR
Check the root is still enabled. SKIP: Failure in <function enable_root_with_password at 0x7fb6ab8ce668>
Disable root. SKIP: Failure in <function enable_root_no_password at 0x7fb6ab8ce410>
Check the root is still marked as enabled after disable. SKIP: Failure in <function enable_root_no_password at 0x7fb6ab8ce410>
Wait until restoring a root-enabled instance completes. SKIP: Failure in <function enable_root_no_password at 0x7fb6ab8ce410>
Check the root is also enabled on the restored instance. SKIP: Failure in <function enable_root_no_password at 0x7fb6ab8ce410>
Delete root restored instances. SKIP: Failure in <function enable_root_no_password at 0x7fb6ab8ce410>
UserActionsGroup
Create an instance with initial users. OK 12.29
Create user databases on an existing instance. OK 0.80
Create users on an existing instance. OK 0.82
Show created users. FAIL
List the created users. FAIL
Ensure creating a user with blank specification fails. OK 0.12
Ensure creating a user with blank name fails. OK 0.25
Ensure creating a user with blank password fails. OK 0.25
Ensure creating an existing user fails. OK 0.13
Ensure updating a user with blank name fails. OK 0.13
Ensure updating a user with an existing name fails. FAIL
Update an existing user. FAIL
Delete the created users. FAIL
Delete non-existing users. FAIL
Ensure updating a non-existing user fails. FAIL
Ensure deleting a non-existing user fails. FAIL
Ensure creating a system user fails. OK 0.11
Ensure showing a system user fails. OK 0.63
Ensure updating a system user fails. OK 0.62
Ensure deleting a system user fails. OK 0.23
Delete the user databases. OK 2.31
Waiting for all instances to become active. OK 60.72
Validate the initialized instance data and properties. FAIL
Delete the initialized instance. OK 20.97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment