git://git.halfball.org
/
cni.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baecfa6
)
pkg/invoke: fix test pollution
author
Gabe Rosenhouse
<grosenhouse@pivotal.io>
Wed, 18 Oct 2017 21:51:35 +0000
(14:51 -0700)
committer
Gabe Rosenhouse
<grosenhouse@pivotal.io>
Wed, 18 Oct 2017 21:51:35 +0000
(14:51 -0700)
pkg/invoke/delegate_test.go
patch
|
blob
|
history
diff --git
a/pkg/invoke/delegate_test.go
b/pkg/invoke/delegate_test.go
index
3d87ec7
..
ca1992e
100644
(file)
--- a/
pkg/invoke/delegate_test.go
+++ b/
pkg/invoke/delegate_test.go
@@
-75,6
+75,10
@@
var _ = Describe("Delegate", func() {
AfterEach(func() {
os.RemoveAll(debugFileName)
+
+ for _, k := range []string{"CNI_COMMAND", "CNI_ARGS", "CNI_PATH", "CNI_NETNS", "CNI_IFNAME"} {
+ os.Unsetenv(k)
+ }
})
Describe("DelegateAdd", func() {