-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Convert done callbacks to async/await in more unit test files #13246
Convert done callbacks to async/await in more unit test files #13246
Conversation
There is no asynchronous code involved here, so we can get rid of all done callbacks here and simply use the fact that if the function call ends without failed assertion that the test passed.
There is no asynchronous code involved here, so we can get rid of all done callbacks here and simply use the fact that if the function call ends without failed assertion that the test passed.
/botio unittest |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/7f35a8ab9e3e9fd/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_unittest from @timvandermeij received. Current queue size: 0 Live output at: http://3.101.106.178:8877/20bcb68ed05f83b/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/7f35a8ab9e3e9fd/output.txt Total script time: 3.95 mins
|
From: Bot.io (Windows)SuccessFull output at http://3.101.106.178:8877/20bcb68ed05f83b/output.txt Total script time: 5.56 mins
|
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.
Looks good to me, thank you!
This is the follow-up PR after #13222 that finalizes the conversion for the smaller and medium sized unit test files. Only three unit test files remain with done callbacks after this PR, but since they are bigger they will be done in a follow-up PR.
Using the
?w=1
parameter will help during review for most commits.