You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was being lazy and running as root so got this error, but creating a new user with root privileges and doing hitch clean and hitch init as new user solved the problem.
Suggest a check in hitch init to stop it being run as root.
The text was updated successfully, but these errors were encountered:
Actually, thinking about this some more I might not implement this, since there are potentially legitimate reasons to run tests as root. If you are testing an app that absolutely requires root, the testing framework probably needs to be root too, for instance.
The only real issue with the django-remindme tests running as root is actually just that postgres point blank refuses to run - this is thus specific to this project (or any others that use postgres).
I will, however, add an additional environment check that can be used in settings.yml (along with apt packages installed, ports open, etc.) so that the test will fail fast with a clear message if the environment is root.
Was being lazy and running as root so got this error, but creating a new user with root privileges and doing hitch clean and hitch init as new user solved the problem.
Suggest a check in hitch init to stop it being run as root.
The text was updated successfully, but these errors were encountered: