-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add basic cucumber tests #254
base: development
Are you sure you want to change the base?
feat: add basic cucumber tests #254
Conversation
Added cucumber tests - basic framework clash with ``` error[E0277]: `Rc<UnsafeCell<ReseedingRng<rand_chacha::chacha::ChaCha12Core, OsRng>>>` cannot be sent between threads safely --> integration_tests\src\p2pool_process.rs:90:5 | 90 | task::spawn(async move { | ^ ---------- within this `{async block@integration_tests\src\p2pool_process.rs:90:17: 90:27}` | _____| | | 91 | | println!( 92 | | "Initializing p2pool node: name={}; p2p_port={}; grpc_port={}; is_seed_node={}", 93 | | name_cloned, p2p_port, grpc_port, is_seed_node ... | 133 | | } 134 | | }); | |______^ `Rc<UnsafeCell<ReseedingRng<rand_chacha::chacha::ChaCha12Core, OsRng>>>` cannot be sent between threads safely | = help: within `{async block@integration_tests\src\p2pool_process.rs:90:17: 90:27}`, the trait `std::marker::Send` is not implemented for `Rc<UnsafeCell<ReseedingRng<rand_chacha::chacha::ChaCha12Core, OsRng>>>`, which is required by `{async block@integration_tests\src\p2pool_process.rs:90:17: 90:27}: std::marker::Send` note: required because it appears within the type `ThreadRng` --> C:\Users\pluto\.cargo\registry\src\index.crates.io-6f17d22bba15001f\rand-0.8.5\src\rngs\thread.rs:62:12 | 62 | pub struct ThreadRng { | ^^^^^^^^^ note: required because it's used within this `async` fn body --> C:\Users\pluto\Documents\Code\@tari-sha-p2pool\p2pool\src\server\p2p\network.rs:2356:56 | 2356 | async fn main_loop(&mut self) -> Result<(), Error> { | ________________________________________________________^ ```
f21cb6b
to
5d28125
Compare
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
Motivation and Context
How Has This Been Tested?
What process can a PR reviewer use to test or verify this change?
Breaking Changes