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 #1

Updated by John Mitsch about 7 years ago

  • Category set to Tests
  • Translation missing: en.field_release set to 114
Actions #2

Updated by Ian Ballou 8 months ago

  • Target version deleted (Katello Backlog)
Actions

Also available in: Atom PDF