mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Inline completions
This commit is contained in:
parent
40b135de0c
commit
11f810ec02
@ -28,7 +28,6 @@ import (
|
|||||||
|
|
||||||
var _ = SIGDescribe("Metadata Concealment", func() {
|
var _ = SIGDescribe("Metadata Concealment", func() {
|
||||||
f := framework.NewDefaultFramework("metadata-concealment")
|
f := framework.NewDefaultFramework("metadata-concealment")
|
||||||
completions := int32(1)
|
|
||||||
|
|
||||||
It("should run a check-metadata-concealment job to completion", func() {
|
It("should run a check-metadata-concealment job to completion", func() {
|
||||||
framework.SkipUnlessProviderIs("gce")
|
framework.SkipUnlessProviderIs("gce")
|
||||||
@ -58,7 +57,7 @@ var _ = SIGDescribe("Metadata Concealment", func() {
|
|||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
|
|
||||||
By("Ensuring job reaches completions")
|
By("Ensuring job reaches completions")
|
||||||
err = framework.WaitForJobFinish(f.ClientSet, f.Namespace.Name, job.Name, completions)
|
err = framework.WaitForJobFinish(f.ClientSet, f.Namespace.Name, job.Name, int32(1))
|
||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user