Skip to content
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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants