Skip to content

Conversation

@Ph4ntomas
Copy link
Contributor

problem: The following error may appear in api::tag::tag_signal_created:

thread 'api::tag::tag_signal_created' panicked at tests/integration/api/tag.rs:599:9:
assertion failed: storage.contains(&new_tag)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

thread 'tokio-runtime-worker' panicked at tests/integration/api/tag.rs:436:47:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }

cause: The rust test isn't dispatching until the signal has been received.

solution: Dispatch until the tester done callback return true.

problem: The following error may appear in api::tag::tag_signal_created:
```
thread 'api::tag::tag_signal_created' panicked at tests/integration/api/tag.rs:599:9:
assertion failed: storage.contains(&new_tag)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

thread 'tokio-runtime-worker' panicked at tests/integration/api/tag.rs:436:47:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
```

cause: The rust test isn't dispatching until the signal has been
received.

solution: Dispatch until the tester `done` callback return true.
@Ph4ntomas
Copy link
Contributor Author

Woops, I forgot that line, and never triggered the bug on my end, sorry about that.

This should fix #369 tests

Copy link
Collaborator

@Ottatop Ottatop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@Ottatop Ottatop merged commit bb5ba0f into pinnacle-comp:main Oct 21, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants