Skip to content

Commit f202b80

Browse files
authored
Merge pull request #1117 from elezar/fix-unit-tests
Fix unit tests
2 parents d6f6107 + 54af66f commit f202b80

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/modifier/discover_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,14 @@ func TestDiscoverModifier(t *testing.T) {
7878
{
7979
Path: "/hook/a",
8080
Args: []string{"/hook/a", "arga"},
81+
Env: []string{"NVIDIA_CTK_DEBUG=false"},
8182
},
8283
},
8384
CreateContainer: []specs.Hook{
8485
{
8586
Path: "/hook/b",
8687
Args: []string{"/hook/b", "argb"},
88+
Env: []string{"NVIDIA_CTK_DEBUG=false"},
8789
},
8890
},
8991
},
@@ -123,6 +125,7 @@ func TestDiscoverModifier(t *testing.T) {
123125
{
124126
Path: "/hook/b",
125127
Args: []string{"/hook/b", "argb"},
128+
Env: []string{"NVIDIA_CTK_DEBUG=false"},
126129
},
127130
},
128131
},

0 commit comments

Comments
 (0)