Skip to content

Commit

Permalink
Merge pull request #451 from flatcar/sayan/change-nvidia-exit-clause
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanchowdhury authored Oct 5, 2023
2 parents d00dfd5 + ec52679 commit d0fe10b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kola/tests/misc/nvidia.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ func verifyNvidiaInstallation(c cluster.TestCluster) {
m := c.Machines()[0]

nvidiaStatusRetry := func() error {
out, err := c.SSH(m, "systemctl is-active nvidia.service")
if !bytes.Contains(out, []byte("inactive")) {
out, err := c.SSH(m, "systemctl status nvidia.service")
if !bytes.Contains(out, []byte("active (exited)")) {
return fmt.Errorf("nvidia.service: %q: %v", out, err)
}
return nil
Expand Down

0 comments on commit d0fe10b

Please sign in to comment.