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

ci(connect): test model one #15387

Merged
merged 1 commit into from
Jan 15, 2025
Merged

ci(connect): test model one #15387

merged 1 commit into from
Jan 15, 2025

Conversation

mroz22
Copy link
Contributor

@mroz22 mroz22 commented Nov 14, 2024

@mroz22 mroz22 force-pushed the connect-test-model-one-ci branch from 66d9201 to 786fd2c Compare November 25, 2024 17:33
@mroz22 mroz22 force-pushed the connect-test-model-one-ci branch 3 times, most recently from ce6f3b9 to ef197f3 Compare December 9, 2024 16:51
@mroz22 mroz22 force-pushed the connect-test-model-one-ci branch from ef197f3 to 2acb91f Compare January 15, 2025 06:34
@mroz22 mroz22 added the no-project This label is used to specify that PR doesn't need to be added to a project label Jan 15, 2025
@mroz22 mroz22 force-pushed the connect-test-model-one-ci branch from 2acb91f to fb95237 Compare January 15, 2025 08:56
@mroz22 mroz22 marked this pull request as ready for review January 15, 2025 09:19
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed test setup in this file - it did not respect globally requested params (firmware version, model etc) for every test, so some of the test run with model T as default. Thats why so many changes

TrezorConnect.removeAllListeners();
const getAddressCall = getAddress(true);

// almost synchronous, TODO: core methodSynchronize race-condition in nodejs (works in web)
await new Promise(resolve => setTimeout(resolve, 1));
// TODO: model T is happy with 1ms, model one needs more (1000 worked)
await new Promise(resolve => setTimeout(resolve, 1000));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple of races for model one detected

@mroz22 mroz22 merged commit ed201cf into develop Jan 15, 2025
179 checks passed
@mroz22 mroz22 deleted the connect-test-model-one-ci branch January 15, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-project This label is used to specify that PR doesn't need to be added to a project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants