@@ -38,7 +38,7 @@ func TestSecurity_SecureAcceleratorAccess(t *testing.T) {
3838 ns := h .TestNamespace ()
3939
4040 h .ApplyManifest (ns , "testdata/accelerator-requested.yaml" )
41- h .ShellExec (fmt .Sprintf ("kubectl wait -n %s --for=condition=complete job/accelerator-requested --timeout=60s " , ns ))
41+ h .ShellExec (fmt .Sprintf ("kubectl wait -n %s --for=condition=complete job/accelerator-requested --timeout=300s " , ns ))
4242
4343 logs := h .ShellExec (fmt .Sprintf ("kubectl logs -n %s job/accelerator-requested" , ns ))
4444 if ! strings .Contains (logs .Stdout (), "<product_brand>NVIDIA</product_brand>" ) {
@@ -53,7 +53,7 @@ func TestSecurity_SecureAcceleratorAccess(t *testing.T) {
5353 ns := h .TestNamespace ()
5454
5555 h .ApplyManifest (ns , "testdata/accelerator-not-requested.yaml" )
56- h .ShellExec (fmt .Sprintf ("kubectl wait -n %s --for=condition=complete job/accelerator-not-requested --timeout=60s " , ns ))
56+ h .ShellExec (fmt .Sprintf ("kubectl wait -n %s --for=condition=complete job/accelerator-not-requested --timeout=300s " , ns ))
5757
5858 logs := h .ShellExec (fmt .Sprintf ("kubectl logs -n %s job/accelerator-not-requested" , ns ))
5959 if ! strings .Contains (logs .Stdout (), "nvidia-smi failed (as expected)" ) {
@@ -68,8 +68,8 @@ func TestSecurity_SecureAcceleratorAccess(t *testing.T) {
6868 ns := h .TestNamespace ()
6969
7070 h .ApplyManifest (ns , "testdata/accelerator-isolation.yaml" )
71- h .ShellExec (fmt .Sprintf ("kubectl wait -n %s --for=condition=available deployment/accelerator-isolation-1 --timeout=60s " , ns ))
72- h .ShellExec (fmt .Sprintf ("kubectl wait -n %s --for=condition=available deployment/accelerator-isolation-2 --timeout=60s " , ns ))
71+ h .ShellExec (fmt .Sprintf ("kubectl wait -n %s --for=condition=available deployment/accelerator-isolation-1 --timeout=300s " , ns ))
72+ h .ShellExec (fmt .Sprintf ("kubectl wait -n %s --for=condition=available deployment/accelerator-isolation-2 --timeout=300s " , ns ))
7373
7474 logs1 := h .ShellExec (fmt .Sprintf ("kubectl logs -n %s deployment/accelerator-isolation-1" , ns ))
7575 logs2 := h .ShellExec (fmt .Sprintf ("kubectl logs -n %s deployment/accelerator-isolation-2" , ns ))
0 commit comments