Closed ganto closed 6 years ago
It seems that testing.Helper() was only introduced with Go 1.9 (https://github.com/golang/go/commit/bc2931372243043842161c0a60bd2f86ef9696ee).
Therefore the build will fail on CentOS 7 (go-1.8.3
) and Fedora 26 (go-1.8.7
)
Issue is fixed in lxd-3.0.0-0.5
by applying a patch restoring Go 1.8 compatibility (10275752d990f21384cbb494647cac0b481b40cc)
Error happens when building the github.com/CanonicalLtd/raft-test go module: