Commit 7e650999 authored by Robert Speicher's avatar Robert Speicher
Browse files

Merge branch...

Merge branch '40746-broken-master-due-to-failure-in-spec-services-clusters-applications-schedule_installation_service_spec-rb' into 'master'

Ensure `Namespace`'s is namespaced in `Gitlab::Kubernetes::Helm#initialize` and fix a transient failing spec due to that

Closes #40746

See merge request gitlab-org/gitlab-ce!15684
......@@ -18,7 +18,7 @@ def pod_name
def initialize(kubeclient)
@kubeclient = kubeclient
@namespace =, kubeclient)
@namespace =, kubeclient)
def install(command)
......@@ -22,6 +22,8 @@ def count_scheduled
let(:service) {, nil, cluster: cluster, application_class: application_class) }
it 'creates a new application' do
allow(ClusterInstallAppWorker).to receive(:perform_async)
expect { service.execute }.to change { application_class.count }.by(1)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment