Skip to content

Commit 54af66f

Browse files
committed
[no-relnotes] Fix missed unit tests
Signed-off-by: Evan Lezar <[email protected]>
1 parent d6f6107 commit 54af66f

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)