Skip to content

Instantly share code, notes, and snippets.

@woky
Created September 28, 2018 10:03
Show Gist options
  • Save woky/f5fa7e117b3805f8b77b6132eaea247e to your computer and use it in GitHub Desktop.
Save woky/f5fa7e117b3805f8b77b6132eaea247e to your computer and use it in GitHub Desktop.
+ docker run -it -v /home/workspace/rchain:/home/workspace/rchain -v /var/cache/rchain-build:/var/cache/rchain-build rchain/buildenv:latest bash -c '
set -e
cd
ln -s /var/cache/rchain-build/.sbt
ln -s /var/cache/rchain-build/.ivy2
cd /home/workspace/rchain
sbt '\''project blockStorage'\'' '\''testOnly *InMemBlockStoreTest'\''
'
[info] Loading settings from plugins.sbt ...
[info] Loading project definition from /home/workspace/rchain/project
[info] Loading settings from build.sbt ...
[info] Resolving key references (12756 settings) ...
[info] Set current project to rchain (in build file:/home/workspace/rchain/)
[info] Set current project to block-storage (in build file:/home/workspace/rchain/)
[info] InMemBlockStoreTest:
[info] Block Store
[info] - should return Some(message) on get for a published key (437 milliseconds)
[info] - should discover keys by predicate *** FAILED *** (99 milliseconds)
[info] TestFailedException was thrown during property evaluation.
[info] Message: 10 did not equal 0
[info] Location: (BlockStoreTest.scala:120)
[info] Occurred when passed generated values (
[info] arg0 = List() // 4 shrinks
[info] )
[info] - should overwrite existing value (36 milliseconds)
[info] - should rollback the transaction on error (7 milliseconds)
[info] ScalaTest
[info] Run completed in 1 second, 308 milliseconds.
[info] Total number of tests run: 4
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 3, failed 1, canceled 0, ignored 0, pending 0
[info] *** 1 TEST FAILED ***
[error] Failed: Total 4, Failed 1, Errors 0, Passed 3
[error] Failed tests:
[error] coop.rchain.blockstorage.InMemBlockStoreTest
[error] (Test / testOnly) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 11 s, completed Sep 28, 2018, 1:55:39 AM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment