summaryrefslogtreecommitdiffstats
path: root/app/app_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Abort on critical error during server startup (#8204)Pierre de La Morinerie2018-02-071-1/+2
| | | | | | | | | | | | | | | | | Only a handful of critical errors are present in the codebase. They all occur during server startup (in `app.StartServer()`). Currently, when one of these critical error occurs, it is simpled mentionned in the logs – then the error is discarded, and the app attempts to continue the execution (and probably fails pretty quickly in a weird way). Rather than continuing operations in an unknow state, these errors should trigger a clean exit. This commit rewrites critical startup errors to be correctly propagated, logged, and then terminate the command execution. Additionnaly, it makes the server return a proper error code to the shell.
* Finally remove utils.Cfg (#8113)Chris2018-01-171-5/+1
| | | | | | | | * finally remove utils.Cfg * fix compile error * another test compilation fix
* Remove global cfg vars (#8099)Chris2018-01-121-2/+2
| | | | | | * remove global cfg vars * enterprise update
* Remove global config watcher (#8080)Chris2018-01-111-1/+3
| | | | | | | | | | * remove global config watcher * keep config watcher disabled for tests * compile fix * fix resource leak
* Improve test coverage reporting / accuracy (#7819)Chris2017-11-131-0/+1
| | | | | | | | | | * improve test coverage reporting / accuracy * handle absolute coverpaths * move tests into multiple files * rename codecov.yml (https://github.com/codecov/support/issues/426)
* invoke config listeners when app.UpdateConfig is used (#7773)Chris2017-11-031-0/+23
|
* Refactoring cfg refs and load / save functions (#7749)Chris2017-10-311-6/+1
| | | | | | * refactoring cfg refs and load / save functions * improve error output
* Fix webconn shutdown race (#7631)Chris2017-10-161-0/+8
| | | | | | | | | | * fix webconn shutdown race * make sure writePump returns promptly if readPump returns first * fix app shutdown race * minor improvement
* parallel tests (#7629)Chris2017-10-161-0/+48