k8s-topgun: remove containerd test
We created a different test in a new test suite that's easier to run locally. Signed-off-by: Taylor Silva <tsilva@pivotal.io>
This commit is contained in:
parent
02cdb62b01
commit
64191f53fe
|
@ -7,7 +7,6 @@ import (
|
|||
. "github.com/concourse/concourse/topgun"
|
||||
. "github.com/onsi/ginkgo"
|
||||
. "github.com/onsi/gomega"
|
||||
"github.com/onsi/gomega/gbytes"
|
||||
)
|
||||
|
||||
var _ = Describe("Garden Config", func() {
|
||||
|
@ -103,29 +102,6 @@ var _ = Describe("Garden Config", func() {
|
|||
Expect(buildSession.ExitCode()).NotTo(Equal(0))
|
||||
})
|
||||
})
|
||||
|
||||
Context("passing the CONCOURSE_GARDEN_USE_CONTAINERD env var to the gdn server with non existing work dir", func() {
|
||||
BeforeEach(func() {
|
||||
helmDeployTestFlags = []string{
|
||||
`--set=worker.replicas=1`,
|
||||
`--set=concourse.worker.garden.useContainerd=true`,
|
||||
`--set=concourse.worker.workDir=/dummy-worker-dir`,
|
||||
}
|
||||
})
|
||||
|
||||
It("creates the worker dir and starts running", func() {
|
||||
pods := getPods(namespace, "--selector=app="+releaseName+"-worker")
|
||||
Expect(pods).To(HaveLen(1))
|
||||
|
||||
args := []string{"exec", pods[0].Metadata.Name, "-n", releaseName, "ls", "--", "/"}
|
||||
|
||||
session := Start(nil, "kubectl", args...)
|
||||
<-session.Exited
|
||||
|
||||
Expect(session.Out).To(gbytes.Say(`dummy-worker-dir`))
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
type gardenCap struct {
|
||||
|
|
Loading…
Reference in New Issue