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

Test: Language Pack cache cleanup #44426

Closed
2 tasks done
dbaeumer opened this issue Feb 26, 2018 · 0 comments
Closed
2 tasks done

Test: Language Pack cache cleanup #44426

dbaeumer opened this issue Feb 26, 2018 · 0 comments

Comments

@dbaeumer
Copy link
Member

dbaeumer commented Feb 26, 2018

Tests cleaning up language pack caches

Complexity: 2

Steps

  • install a Language pack from the market place (e.g Bulgarian)
  • close VS Code.
  • restart VS Code with --locale=the language pack you downloaded (e.g --locale=bg)
  • go to the user data directory on your file system. Under Windows that is C:\Users\${user}\AppData\Roaming\Code - Insiders
  • ensure that there is a languagepacks.json file and a directorry clp
  • navigate into clpand ensure that there is a directory with a hash and the locale of the language pack you installed
  • close VS Code
  • restart again with the locale switch
  • open the log for the shared process. After ~40 seconds you should see a message that the language pack cleanup starts and that the installed language pack is skipped since it is still in use.
  • uninstall the language pack
  • close VS Code and restart it without a locale switch
  • open the log for the shared process. Again after ~40 seconds you should see a message that the language pack cleanup starts . This time a language pack cache entry should be deleted.
  • go to the file system again. Ensure that the directory entry below clp got deleted.
@dbaeumer dbaeumer added this to the February 2018 milestone Feb 26, 2018
@isidorn isidorn assigned sandy081 and unassigned isidorn and sandy081 Feb 27, 2018
@sandy081 sandy081 removed their assignment Feb 27, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants