Skip to content

Commit

Permalink
dev-db/etcd: Disable some 3.4.1 tests for network-sandbox
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Zac Medico <[email protected]>
  • Loading branch information
zmedico committed Sep 21, 2019
1 parent 5d0e014 commit 3c6c343
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev-db/etcd/etcd-3.4.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,16 @@ src_prepare() {
sed -e 's:\(for p in \)shellcheck :\1 :' \
-e 's:^ gofmt \\$:\\:' \
-e 's:^ govet \\$:\\:' \
-e 's:^ govet_shadow \\$:\\:' \
-i "${S}"/src/${EGO_PN}/test || die
# missing ... in args forwarded to print-like function
sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
-i "${S}"/src/${EGO_PN}/raft/logger.go || die

sed -e 's:TestGetDefaultInterface(:_\0:' \
-e 's:TestGetDefaultHost(:_\0:' \
-i "${S}"/src/${EGO_PN}/pkg/netutil/routes_linux_test.go || die

# Avoid network-sandbox violations since go-1.13
rm src/${EGO_PN}/go.mod || die
}
Expand Down

0 comments on commit 3c6c343

Please sign in to comment.