Project

General

Profile

Bug #22782

`RAILS_ENV=test rake katello:reset` is dangerous

Added by Andrew Kofink over 1 year ago. Updated 11 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Tests
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
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.

History

#1 Updated by John Mitsch over 1 year ago

  • Legacy Backlogs Release (now unused) set to 114
  • Category set to Tests

Also available in: Atom PDF