Commit Stop

Manage Push Permissions

GitHub Tests Download

Test 004: Service down

Objective IF a developer commits to a branch in a repository
AND the service does not respond or returns an error code
THEN the commit is rejected.
Test Status Stable
Prerequisite A CVS repository that is setup with the verifymsg hook to check commit permissions against a Commit Stop server that allows commits in the active configuration.
# Action User input Expected result
1 Make a change echo Hallo>welt.txt None
2 Commit change cvs commit -m "a commit" welt.txt The commit goes through.
3 Shutdown the MySQL server service mysql stop MySQL server was shut down
4 Make another change echo Welt>>welt.txt None
5 Commit change cvs commit -m "second commit" welt.txt The commit does not go through and the error message indicates a server side error.