Lesson: 9 ==> Staging test not working[AssertionError: expected '9068219470688274746' to equal '9078696406191512204'] [Error: Timeout of 5000000ms exceeded] #5922
Unanswered
MohammadRokib
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I ran into a problem while doing the staging test for
Raffle.sol
. It gives the following error:It seems that the winner
starting balance
and theending balance
doesn't match. But I did add theentranceFee
in the assert:This is my

Automation setup
And, it also took a very long time to complete the test before showing the error.
I tried with
timeout: 5000000
but it ran for almost 2 hours before giving me the following error:So I reduced the
blockConfirmations
to1
and increased thetimeout
to50000000
. But it still gives me the first error I have mentioned.This is my Repo Link. Any suggestion would be very helpful.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions