Skip to content

Adds additional project clean up before test runs

Richard Chong requested to merge g438822-run-in-staging-only into master

What does this MR do and why?

Due to namespace_storage_limit_spec running in both staging and staging-cny, there are times when both pipelines are running at the same time and the test creates data in the preconfigured namespace at the same time too causing the test to fail. This MR does the following:

  1. Restricts the test to only run in staging so that there wouldn't be multiple of this test running at the same time anymore.
  2. Adds an additional clean up step before the test runs to ensure that the test is running against a pristine test data.

Related to #438822 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Set up the environment variables required to run this against Staging.

Run bundle exec rspec qa/specs/features/ee/browser_ui/11_fulfillment/utilization/namespace_storage_limit_spec.rb

Edited by Richard Chong

Merge request reports