Flaky test spec/features/projects/terraform_spec.rb:61 # Terraform when user is a terraform administrator when user has a terraform state when clicking on the delete button removes the state
Job #1346867570 failed for 1a9a0e69:
1) Terraform when user is a terraform administrator when user has a terraform state when clicking on the delete button removes the state
Failure/Error: expect(page).to have_content(additional_state.name)
expected to find text "state-2" in "Skip to content GitLab Menu Help P project116 Project information Issues 0 CI/CD Security & Compliance Deployments Monitor Infrastructure Kubernetes clusters Serverless platform Terraform Packages & Registries Analytics Wiki Snippets Settings Collapse sidebar John Doe443 project116 Terraform States 1 Name Pipeline Details Actions state-1 Locked pending John Doe445 updated 17 seconds ago"
# ./spec/features/projects/terraform_spec.rb:64:in `block (5 levels) in <top (required)>'
# ./spec/spec_helper.rb:372:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:363:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:359:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:359:in `block (2 levels) in <top (required)>'
Finished in 15 minutes 53 seconds (files took 49.28 seconds to load)
517 examples, 1 failure
Failed examples:
rspec ./spec/features/projects/terraform_spec.rb:61 # Terraform when user is a terraform administrator when user has a terraform state when clicking on the delete button removes the state
Implementation plan
-
Fix the issue of not finding an additional state created in the 'when clicking on the delete button'
context block. -
Update the spec to respect the deletion in progress state. -
Dequarantine the spec.
Edited by Pam Artiaga