stmcginnis / gofish

Gofish is a Golang client library for DMTF Redfish and SNIA Swordfish interaction.
BSD 3-Clause "New" or "Revised" License
211 stars 113 forks source link

Tests #233

Closed Danile71 closed 1 year ago

Danile71 commented 1 year ago

tests fail 50/50 maybe problems with parallel? I will try to see later

// complete
PASS
ok      github.com/stmcginnis/gofish/redfish    0.017s

// fail
=== RUN   TestChassisLinkedDrives
    chassis_test.go:353: Error getting drives: failed to retrieve some items: [{"link":"/redfish/v1/Chassis/HA-RAID.0.StorageEnclosure.0/Drives/Disk.Bay.0","error":"EOF"}]
    chassis_test.go:359: Expected four calls to be made, captured: [{GET /redfish/v1/Chassis/HA-RAID.0.StorageEnclosure.0/Drives/Disk.Bay.0  map[]} {GET /redfish/v1/Chassis/HA-RAID.0.StorageEnclosure.0/Drives/Disk.Bay.1  map[]} {GET /redfish/v1/Chassis/HA-RAID.0.StorageEnclosure.0/Drives/Disk.Bay.3  map[]}]
    chassis_test.go:363: Expected 4 drives to be returned, got 3
--- FAIL: TestChassisLinkedDrives (0.00s)
stmcginnis commented 1 year ago

Thanks, I did notice one failure, but haven't had a chance to look in to it closer.