input-output-hk / iodb

Multiversioned key-value database, especially useful for blockchain
Creative Commons Zero v1.0 Universal
95 stars 13 forks source link

M1 acceptance test fails #32

Closed jankotek closed 6 years ago

jankotek commented 6 years ago

With default parameters (1M keys) the M1Test fails after several inserts with wrong data (wrong value associated with the key). Exception:


rollback
Ver: 27 - disk size: 6.859775052 GB
rollback
Ver: 30 - disk size: 6.964930982 GB
rollback
rollback
rollback
Exception in thread "main" org.scalatest.exceptions.TestFailedException: Some(ByteArrayWrapper[D89CB8196F0EFB6892F94D68FCCC2C35F0B84609E5F12C55DD85ABA8D5D9BEF76808F3B572E5900112B81927BA5BB5F67E1BDA28B4049BF0E4AED78DB15D7BF2FC0C34E9A99DE4EF3BC2B17C8137AD659878F9E93D]) was not equal to None
    at org.scalatest.MatchersHelper$.indicateFailure(MatchersHelper.scala:340)
    at org.scalatest.Matchers$AnyShouldWrapper.shouldBe(Matchers.scala:6864)
    at io.iohk.iodb.smoke.M1Test$.$anonfun$main$5(M1Test.scala:106)
    at io.iohk.iodb.smoke.M1Test$.$anonfun$main$5$adapted(M1Test.scala:102)
    at scala.collection.immutable.Range.foreach(Range.scala:156)
    at io.iohk.iodb.smoke.M1Test$.main(M1Test.scala:102)

Full log is here: https://gist.github.com/jankotek/c7e2c52ce54764264e1c35fe7af15266