The tests are hardwired to fail unless run against 0.3.9-dev, but if you fix that, the tests are failing for both 0.3.11 and 0.4.0-dev. The failures looks the same.
Ubuntu 15.10
Plenty of RAM and disk
openjdk version "1.8.0_66-internal"
OpenJDK Runtime Environment (build 1.8.0_66-internal-b17)
OpenJDK 64-Bit Server VM (build 25.66-b17, mixed mode)
sbt about gives me:
[info] Loading project definition from /code/scala-ipfs-api/project
[info] Set current project to scala-ipfs-api (in build file:/code/scala-ipfs-api/)
[info] This is sbt 0.13.9
[info] The current project is {file:/code/scala-ipfs-api/}scala-ipfs-api 1.0.0-SNAPSHOT
[info] The current project is built against Scala 2.10.5
[info] Available Plugins: sbt.plugins.IvyPlugin, sbt.plugins.JvmPlugin, sbt.plugins.CorePlugin, sbt.plugins.JUnitXmlReportPlugin, sbtassembly.Plugin
[info] sbt, sbt plugins, and build definitions are using Scala 2.10.5
Here is my log:
mats@matsw230ss /code/scala-ipfs-api[master_]$ sbt test
[info] Loading project definition from /code/scala-ipfs-api/project
[info] Set current project to scala-ipfs-api (in build file:/code/scala-ipfs-api/)
[info] Compiling 1 Scala source to /code/scala-ipfs-api/target/scala-2.10/classes...
[warn] there were 3 feature warning(s); re-run with -feature for details
[warn] one warning found
[info] Compiling 1 Scala source to /code/scala-ipfs-api/target/scala-2.10/test-classes...
[info] ClientSpec
[info]
[info] IPFS client should
[info] + show the version
[info] + have an ID
[info] + store data
[info] + cat data
[error] x dht put and get
[error] '' is not equal to '䟮ꊥ삘遜屧㤖伆ᳱ匵' (ClientSpec.scala:48)
[info]
[info]
[info] Total for specification ClientSpec
[info] Finished in 1 second, 28 ms
[info] 5 examples, 1 failure, 0 error
[info]
[error] Failed: Total 5, Failed 1, Errors 0, Passed 4
[error] Failed tests:
[error] org.ipfs.api.ClientSpec
error sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 9 s, completed Mar 13, 2016 6:12:48 PM
mats@matsw230ss /code/scala-ipfs-api[master_]$
The tests are hardwired to fail unless run against 0.3.9-dev, but if you fix that, the tests are failing for both 0.3.11 and 0.4.0-dev. The failures looks the same.
Ubuntu 15.10
Plenty of RAM and disk
openjdk version "1.8.0_66-internal"
OpenJDK Runtime Environment (build 1.8.0_66-internal-b17)
OpenJDK 64-Bit Server VM (build 25.66-b17, mixed mode)
sbt about gives me:
[info] Loading project definition from /code/scala-ipfs-api/project
[info] Set current project to scala-ipfs-api (in build file:/code/scala-ipfs-api/)
[info] This is sbt 0.13.9
[info] The current project is {file:/code/scala-ipfs-api/}scala-ipfs-api 1.0.0-SNAPSHOT
[info] The current project is built against Scala 2.10.5
[info] Available Plugins: sbt.plugins.IvyPlugin, sbt.plugins.JvmPlugin, sbt.plugins.CorePlugin, sbt.plugins.JUnitXmlReportPlugin, sbtassembly.Plugin
[info] sbt, sbt plugins, and build definitions are using Scala 2.10.5
Here is my log:
mats@matsw230ss /code/scala-ipfs-api[master_]$ sbt test
[info] Loading project definition from /code/scala-ipfs-api/project
[info] Set current project to scala-ipfs-api (in build file:/code/scala-ipfs-api/)
[info] Compiling 1 Scala source to /code/scala-ipfs-api/target/scala-2.10/classes...
[warn] there were 3 feature warning(s); re-run with -feature for details
[warn] one warning found
[info] Compiling 1 Scala source to /code/scala-ipfs-api/target/scala-2.10/test-classes...
[info] ClientSpec
[info]
[info] IPFS client should
[info] + show the version
[info] + have an ID
[info] + store data
[info] + cat data
[error] x dht put and get
[error] '' is not equal to '䟮ꊥ삘遜屧㤖伆ᳱ匵' (ClientSpec.scala:48)
[info]
[info]
[info] Total for specification ClientSpec
[info] Finished in 1 second, 28 ms
[info] 5 examples, 1 failure, 0 error
[info]
[error] Failed: Total 5, Failed 1, Errors 0, Passed 4
[error] Failed tests:
[error] org.ipfs.api.ClientSpec
error sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 9 s, completed Mar 13, 2016 6:12:48 PM
mats@matsw230ss /code/scala-ipfs-api[master_]$