Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Fedora 25 - go test: ./dockerclient_test.go:286: invalid operation #244

Open
marcindulak opened this issue Apr 3, 2017 · 0 comments
Open

Comments

@marcindulak
Copy link

cat /etc/redhat-release
#Fedora release 25 (Twenty Five)
dnf -y install "compiler(go-compiler)"

go version
#go version go1.7.5 linux/amd64

yum -y install "golang(github.com/docker/go-units)"
yum -y install "golang(github.com/stretchr/testify/mock)"
yum -y install "golang(github.com/docker/docker/pkg/ioutils)"
yum -y install "golang(golang.org/x/net/context)"
yum -y install "golang(github.com/Sirupsen/logrus)"
yum -y install "golang(github.com/gorilla/mux)"

rm -rf /tmp/go
mkdir -p /tmp/go/src
export GOPATH=/tmp/go:/usr/share/gocode
cd /tmp/go/src
mkdir -p github.com/samalba
cd github.com/samalba
git clone https://github.com/samalba/dockerclient
cd dockerclient
git rev-parse HEAD
#a3036261847103270e9f732509f43b5f98710ace
go test
#./dockerclient_test.go:286: invalid operation: eventInfo.Event != expectedEvents[0] (struct containing Actor cannot be compared)
#./dockerclient_test.go:306: invalid operation: eventInfo.Event != expectedEvent (struct containing Actor cannot be compared)
#FAIL   github.com/samalba/dockerclient [build failed]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant