Project

General

Profile

Actions

Bug #22782

open

`RAILS_ENV=test rake katello:reset` is dangerous

Added by Andrew Kofink about 7 years ago. Updated 8 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Tests
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

This will bork your development environment because it resets pulp and candlepin regardless of the environment passed in. If you pass in `RAILS_ENV=test`, your foreman development database won't be touched.

Why would I want to run this?

When checking out different versions from source control, I want to run rake tasks (including tests) without touching the development environment.

Actions

Also available in: Atom PDF