Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Tests failed on local #18

Open
Dennis-Zhang-SH opened this issue Jun 16, 2023 · 2 comments
Open

Tests failed on local #18

Dennis-Zhang-SH opened this issue Jun 16, 2023 · 2 comments

Comments

@Dennis-Zhang-SH
Copy link

I pulled the repo and run cargo test on local environment, it failed 2 tests.

failures:

---- tests::outbound::lmtp::lmtp_delivery stdout ----
thread 'tests::outbound::lmtp::lmtp_delivery' panicked at 'assertion failed: (left == right)
left: 0,
right: 4', src/tests/outbound/lmtp.rs:148:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

---- tests::outbound::smtp::smtp_delivery stdout ----
thread 'tests::outbound::smtp::smtp_delivery' panicked at 'retries [0, 0, 0]', src/tests/outbound/smtp.rs:173:5

failures:
tests::outbound::lmtp::lmtp_delivery
tests::outbound::smtp::smtp_delivery

@mdecimus
Copy link
Member

Have you tried running the tests more than once? This is most likely caused by a timeout issue, some of the tests are time sensitive and might fail if your environment is faster/slower than the one where the tests were written. That being said, this is something that needs to be fixed in the tests.

@Dennis-Zhang-SH
Copy link
Author

Have you tried running the tests more than once? This is most likely caused by a timeout issue, some of the tests are time sensitive and might fail if your environment is faster/slower than the one where the tests were written. That being said, this is something that needs to be fixed in the tests.

Hi

After serveral times retrying cargo clean && cargo test, it still failed these two tests.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants