-
Notifications
You must be signed in to change notification settings - Fork 7
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
Improved e2e Test setup #52
Conversation
5ae8d07
to
740e22b
Compare
f340962
to
7894fa7
Compare
7894fa7
to
117e0f6
Compare
117e0f6
to
5d4d964
Compare
5d4d964
to
b56a0cb
Compare
b56a0cb
to
e3a16c3
Compare
e2e/setup.ts
Outdated
stderr: true, | ||
}); | ||
logs.on('data', (log) => { | ||
logger.log(log.toString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Log only essential information, such as errors or failed cases. Avoid excessive logging, as it would require sifting through unnecessary logs to identify failed test cases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that is quite true that bitcoind has excessive info, setting bitcoind env variable debug=0
still doesn't solve it, one way i believe to solve it is to not output debug info for indexer, @theanmolsharma , what do you think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can't we just write the stream to a file like .logs/bitcoind.log
? and then in Github Actions, we can do cat .log/bitcoind.log
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logging issue persists. What if we add a separate dropdown specifically for logs? @theanmolsharma
016999d
to
bd000da
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these should be the last round of comments, I will merge after you address these.
bd000da
to
3b87fd2
Compare
Draft: Improved E2E Test implemented improved e2e test structure
3b87fd2
to
5c87696
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 5c87696
This PR will be a big improvement. Thank you for putting so much effort into this.
Improved E2E test setup