Skip to content

Commit

Permalink
Remove unnecessary unit test for improperly formatted device name
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Desiniotis <[email protected]>
  • Loading branch information
cdesiniotis committed Jun 9, 2023
1 parent 5b46136 commit fd2bd2d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/device_plugin/device_plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,6 @@ var _ = Describe("Device Plugin", func() {
10de NVIDIA Corporation
118a GK104GL [GRID K520]
118b GK104GL [GRID K2 GeForce USM]
118c GK104 [GRID 118c NVS USM]
118d gk104gl [grid k520]
118e gk104.gl [grid/k./520]
2331 GH100 [H100 PCIe]
Expand All @@ -353,11 +352,6 @@ var _ = Describe("Device Plugin", func() {
Expect(deviceName).To(Equal(""))
})

It("Returns blank if the device name is not correctly formatted", func() {
deviceName := getDeviceName("118c")
Expect(deviceName).To(Equal(""))
})

It("Returns blank if error reading the pci.ids file", func() {
pciIdsFilePath = filepath.Join(workDir, "fake")
deviceName := getDeviceName("118c")
Expand Down

0 comments on commit fd2bd2d

Please sign in to comment.