oshi: UpdateDiskStats matches improperly on non-unique serial number

Hi,

I build from current GitHub with “mvn package” on 64 Bit Linux. I get this (reproducibly):

testDisks(oshi.hardware.DisksTest)  Time elapsed: 0.071 sec  <<< FAILURE!
java.lang.AssertionError
	at oshi.hardware.DisksTest.testDisks(DisksTest.java:85)

What’s that about? Can I build without the tests?

Many greetings

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 21 (19 by maintainers)

Most upvoted comments

Also, score 1 for unit tests in catching this. 😃