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

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

@marcindulak

Description

@marcindulak
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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions