-
Notifications
You must be signed in to change notification settings - Fork 1.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
Large subtest qty freezes some UI elements #21339
Comments
What I think is happening is it is sending a test_id per subtest but all the subtests have the same test_id. Therefore if there are 100 subtests, it is running 100 subtests, 100 times since it is running the subtest parent 100 times. This will be fixed if only unique test_ids are passed into the run command so then it will run the list of subtests only a single time. Here is a display of the logs, you can see it runs a single test first then attempts to run 100.
|
this will partially remediate #21339 in regards to the duplicate IDs being run.
follows the same steps as making pytest compatible with large workspaces with many tests. Now test_ids are sent over a port as a json instead of in the exec function which can hit a cap on # of characters. Should fix #21339.
follows the same steps as making pytest compatible with large workspaces with many tests. Now test_ids are sent over a port as a json instead of in the exec function which can hit a cap on # of characters. Should fix microsoft#21339.
Testing #21306
subtest with
range (0, 10k)
caused a number of UI elements to freeze while running, most apparent when resizing the window.*note: all actions resolve and render properly immediately upon test completion
While the 10k subtests are running, the window cannot be closed nor reloaded. UI elements can be interacted with, but nothing happens other than visually showing that they were clicked upon.
ex: folders showing as expanded, but not showing contents
![image](https://private-user-images.githubusercontent.com/12552271/242109374-bb9f4627-95eb-4049-88c2-b7e0f5e53aeb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwNTk0NDAsIm5iZiI6MTcxOTA1OTE0MCwicGF0aCI6Ii8xMjU1MjI3MS8yNDIxMDkzNzQtYmI5ZjQ2MjctOTVlYi00MDQ5LTg4YzItYjdlMGY1ZTUzYWViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIyVDEyMjU0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY0MzIwM2FkZGZlMzZiMTE4MjJkYjEwOTdmNDNhMzY4YjU2MGFiOWY2MmJiNzBlMzZlNDc0ZTQwN2I2NjczNjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Moq8gIxvX5-9YEt_wdQQbmCnmLehc5KNzCW7POxxtcw)
other graphical issues
![image](https://private-user-images.githubusercontent.com/12552271/242109456-e0aa379c-385d-4dee-a345-491448448be6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwNTk0NDAsIm5iZiI6MTcxOTA1OTE0MCwicGF0aCI6Ii8xMjU1MjI3MS8yNDIxMDk0NTYtZTBhYTM3OWMtMzg1ZC00ZGVlLWEzNDUtNDkxNDQ4NDQ4YmU2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIyVDEyMjU0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlmYzkxOGI4MGQwY2ViMmYxY2Q0OGYyODc0NjYwM2JhZWQ5OWRlMDRiMzZkZDkwNTE2MDQ1ZDEzM2E1NzJlMzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Iqgo3dPqhAE7_oqE-dwK4LYLAlCk3EOlyQDgzLMGfpA)
The text was updated successfully, but these errors were encountered: