Skip to content

datacake-rpc failing: cargo test --features simulation #73

Description

@FrankReh

Change directory to datacake-rpc
Run

$ cargo test --features simulation
   Compiling turmoil v0.4.0
   Compiling datacake-rpc v0.6.0 (/home/ubuntu/forks/datacake/datacake-rpc)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 20.14s
     Running unittests src/lib.rs (/home/ubuntu/forks/datacake/target/debug/deps/datacake_rpc-e0a7f3d5e447c9cb)

running 7 tests
test rkyv_tooling::tests::test_heap_size_serialize ... ok
test net::status::tests::test_variants ... ok
test rkyv_tooling::tests::test_static_size_serialize ... ok
test rkyv_tooling::view::tests::test_deserialize ... ok
test rkyv_tooling::view::tests::test_invalid_view ... ok
test rkyv_tooling::view::tests::test_view ... ok
test rkyv_tooling::view::tests::test_view_missing_checksum ... ok

test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/basic.rs (/home/ubuntu/forks/datacake/target/debug/deps/basic-d85fb6a6be6259e3)

running 1 test
test test_basic ... FAILED

failures:

---- test_basic stdout ----
thread 'test_basic' panicked at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/scoped-tls-1.0.1/src/lib.rs:168:9:
cannot access a scoped thread local variable without calling `set` first
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    test_basic

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

error: test failed, to rerun pass `--test basic`

Is this meant to work or was the simulation feature meant to be used in another way?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions