diff options
author | Brent Baude <bbaude@redhat.com> | 2020-05-07 09:19:00 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-05-08 09:05:37 -0500 |
commit | a4c607cc71ea5c3a4d4898a84b19cdd236ae90bd (patch) | |
tree | 4642dca9f08992bad9b4d6dfab9f05b1b2ea363c /pkg/bindings/test/pods_test.go | |
parent | 7c63059287d40184944b7e21ad44cc6bbb9d5925 (diff) | |
download | podman-a4c607cc71ea5c3a4d4898a84b19cdd236ae90bd.tar.gz podman-a4c607cc71ea5c3a4d4898a84b19cdd236ae90bd.tar.bz2 podman-a4c607cc71ea5c3a4d4898a84b19cdd236ae90bd.zip |
set binding tests to required
some small fix ups for binding tests and then make them required.
update containers-common
V2 bindings tests were failing because of changes introduced in commit
a2ad5bb.
Fix some typos.
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
in the case where the specgen attribute for Env and Labels are nil, we should should then make the map IF we have labels and envs that need to be added.
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/bindings/test/pods_test.go')
-rw-r--r-- | pkg/bindings/test/pods_test.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/bindings/test/pods_test.go b/pkg/bindings/test/pods_test.go index 8a0b9c7a6..49bbfa246 100644 --- a/pkg/bindings/test/pods_test.go +++ b/pkg/bindings/test/pods_test.go @@ -57,6 +57,11 @@ var _ = Describe("Podman pods", func() { podSummary, err := pods.List(bt.conn, nil) Expect(err).To(BeNil()) Expect(len(podSummary)).To(Equal(1)) + + // Start the pod + _, err = pods.Start(bt.conn, newpod) + Expect(err).To(BeNil()) + // Adding an alpine container to the existing pod _, err = bt.RunTopContainer(nil, &bindings.PTrue, &newpod) Expect(err).To(BeNil()) @@ -83,6 +88,11 @@ var _ = Describe("Podman pods", func() { It("List pods with filters", func() { newpod2 := "newpod2" bt.Podcreate(&newpod2) + + // Start the pod + _, err = pods.Start(bt.conn, newpod) + Expect(err).To(BeNil()) + _, err = bt.RunTopContainer(nil, &bindings.PTrue, &newpod) Expect(err).To(BeNil()) |