[no-relnotes] Fix missed unit tests

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2025-05-30 15:41:32 +02:00
parent d6f610790f
commit 54af66f48c
No known key found for this signature in database

View File

@ -78,12 +78,14 @@ func TestDiscoverModifier(t *testing.T) {
{ {
Path: "/hook/a", Path: "/hook/a",
Args: []string{"/hook/a", "arga"}, Args: []string{"/hook/a", "arga"},
Env: []string{"NVIDIA_CTK_DEBUG=false"},
}, },
}, },
CreateContainer: []specs.Hook{ CreateContainer: []specs.Hook{
{ {
Path: "/hook/b", Path: "/hook/b",
Args: []string{"/hook/b", "argb"}, Args: []string{"/hook/b", "argb"},
Env: []string{"NVIDIA_CTK_DEBUG=false"},
}, },
}, },
}, },
@ -123,6 +125,7 @@ func TestDiscoverModifier(t *testing.T) {
{ {
Path: "/hook/b", Path: "/hook/b",
Args: []string{"/hook/b", "argb"}, Args: []string{"/hook/b", "argb"},
Env: []string{"NVIDIA_CTK_DEBUG=false"},
}, },
}, },
}, },