summaryrefslogtreecommitdiff
path: root/pkg/bindings/test/system_test.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-05-07 09:19:00 -0500
committerBrent Baude <bbaude@redhat.com>2020-05-08 09:05:37 -0500
commita4c607cc71ea5c3a4d4898a84b19cdd236ae90bd (patch)
tree4642dca9f08992bad9b4d6dfab9f05b1b2ea363c /pkg/bindings/test/system_test.go
parent7c63059287d40184944b7e21ad44cc6bbb9d5925 (diff)
downloadpodman-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/system_test.go')
-rw-r--r--pkg/bindings/test/system_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/bindings/test/system_test.go b/pkg/bindings/test/system_test.go
index 87e6d56dc..62ea32377 100644
--- a/pkg/bindings/test/system_test.go
+++ b/pkg/bindings/test/system_test.go
@@ -3,7 +3,6 @@ package test_bindings
import (
"time"
- "github.com/containers/libpod/pkg/api/handlers"
"github.com/containers/libpod/pkg/bindings"
"github.com/containers/libpod/pkg/bindings/containers"
"github.com/containers/libpod/pkg/bindings/pods"
@@ -39,8 +38,8 @@ var _ = Describe("Podman system", func() {
})
It("podman events", func() {
- eChan := make(chan handlers.Event, 1)
- var messages []handlers.Event
+ eChan := make(chan entities.Event, 1)
+ var messages []entities.Event
cancelChan := make(chan bool, 1)
go func() {
for e := range eChan {