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

[Windows] - Running a project with sdk when a session already exists will not delete the older session #24

Open
TheAmg opened this issue Aug 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@TheAmg
Copy link
Contributor

TheAmg commented Aug 2, 2024

Describe the bug

On starting a process with the sdk through docker on windows for the 2nd time will cause a few issues.

  • The older session will not be deleted.
  • DirectInvoke will work, but no candidates will be seen.

To recreate -

  • Start an application with sdk on windows through docker.

  • Stop process and DO NOT delete sessions manually.

  • Start the process again/start another process. New candidates from your current session will not show up.

  • This can be observed easily in the frequency logging UI test in the test branch on UI testrun.

Reproduction steps

  1. Start unlogged-spring-maven-demo on windows with docker (ui-test-clean)
  2. Stop process, don't delete sessions. Remove containers, images and volumes.
  3. Start the process through docker again, no new candidates show up.
    ...

Alternative

  1. Run UI tests on Windows

Expected behavior

For the older session to be deleted and candidates from only the current session to be seen.

Additional context

No response

@TheAmg TheAmg added the bug Something isn't working label Aug 2, 2024
@kartikeytewari-ul
Copy link
Contributor

The old session's selogger files are deleted correctly, but the execution.db file is not deleted. When ide is open, and a manual attempt is made to delete the execution.db, windows come up with error message, that the file cannot be deleted because it is used by another binary process.

This seems to happen because plugin still have a lock on it, thus windows is unable to delete it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants