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

Investigate if the SLEEP is necessary in emulator after each action #94

Open
grdddj opened this issue Jul 23, 2021 · 0 comments
Open

Investigate if the SLEEP is necessary in emulator after each action #94

grdddj opened this issue Jul 23, 2021 · 0 comments
Assignees
Labels

Comments

@grdddj
Copy link
Contributor

grdddj commented Jul 23, 2021

Find out if we really need to sleep for half a second after each action with emulator - or if we can get rid of it, or at least decrease the time.

Explanation of the sleep interval (done by unknown person):

# When communicating with device via bridge/debuglink, this sleep is required
# otherwise there may appear weird race conditions in communications.
# When not going through bridge but webusb, there is no need for it,
# but we can skip bridge only when doing initial setup before test.
SLEEP = 0.501

This long sleep causes some issue in trezor/trezor-suite#4066

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

No branches or pull requests

3 participants