File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -266,6 +266,23 @@ log_objects() {
266266 echo " ${output} " | grep -E ' ^.*SUM multinode_device_to_device_memcpy_read_ce [0-9]+\.[0-9]+.*$'
267267}
268268
269+ # bats test_tags=bats:focus
270+ @test " Confirm startup config / detail in logs on level 0" {
271+ local _iargs=(" --set" " logVerbosity=0" )
272+ iupgrade_wait " ${TEST_CHART_REPO} " " ${TEST_CHART_VERSION} " _iargs
273+
274+ run kubectl logs -l nvidia-dra-driver-gpu-component=controller -n nvidia-dra-driver-gpu --tail=-1
275+ assert_output --partial " Verbosity:"
276+ assert_output --partial ' "MPSSupport":false'
277+ assert_output --partial ' additionalNamespaces:'
278+
279+ run kubectl logs -l nvidia-dra-driver-gpu-component=kubelet-plugin -n nvidia-dra-driver-gpu --tail=-1
280+ assert_output --partial " Verbosity"
281+ assert_output --partial " nodeName"
282+ assert_output --partial " identified fabric clique"
283+ assert_output --partial " driver version validation"
284+ }
285+
269286@test " CD controller: test log verbosity levels" {
270287 iupgrade_wait " ${TEST_CHART_REPO} " " ${TEST_CHART_VERSION} " NOARGS
271288
You can’t perform that action at this time.
0 commit comments