Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-06-24 08:16:31 +0300
committerThong Kuah <tkuah@gitlab.com>2019-06-24 08:16:31 +0300
commitd9f4a919458721bd9ffae4d4e69bf17d18bd3be8 (patch)
tree04fe777f8eb643539cb4eceedeb54cb586947332 /spec/workers
parent833013ba4a855d62cfbc691c3ba95e06876a1634 (diff)
parent74702f0e0e05bc346338fbd11b596fcbedfbaea6 (diff)
Merge branch '60617-enable-project-cluster-jit' into 'master'
Enable JIT Kubernetes resource creation for project level clusters See merge request gitlab-org/gitlab-ce!29515
Diffstat (limited to 'spec/workers')
-rw-r--r--spec/workers/cluster_provision_worker_spec.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/workers/cluster_provision_worker_spec.rb b/spec/workers/cluster_provision_worker_spec.rb
index 9cc2ad12bfc..3f69962f25d 100644
--- a/spec/workers/cluster_provision_worker_spec.rb
+++ b/spec/workers/cluster_provision_worker_spec.rb
@@ -23,18 +23,11 @@ describe ClusterProvisionWorker do
described_class.new.perform(cluster.id)
end
-
- it 'configures kubernetes platform' do
- expect(ClusterConfigureWorker).to receive(:perform_async).with(cluster.id)
-
- described_class.new.perform(cluster.id)
- end
end
context 'when cluster does not exist' do
it 'does not provision a cluster' do
expect_any_instance_of(Clusters::Gcp::ProvisionService).not_to receive(:execute)
- expect(ClusterConfigureWorker).not_to receive(:perform_async)
described_class.new.perform(123)
end