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

testing SbtCoursierCache leak #317

Merged
merged 2 commits into from
Feb 15, 2021

Conversation

jtjeferreira
Copy link
Contributor

however if I revert the fix the test is still green.

I added a few printlns and can see that the SbtCoursierCache
instance after the reload is different.

Does this happen because of the reload in a scripted test is
different? or maybe the problem I reported only manifest in
more complex scenarios?

however if I revert the fix the test is still green. I added
a few printlns and can see that the SbtCoursierCache
instance after the clean is different.

Does this happen because of the reload in a scripted test is
different? or maybe the problem I reported only manifest in
more complex scenarios?
@alexarchambault
Copy link
Member

alexarchambault commented Feb 15, 2021

Does this happen because of the reload in a scripted test is
different? or maybe the problem I reported only manifest in
more complex scenarios?

I'd lean on the former. The scripted tests are run with sbt 1.2.8, and reload has changed in later sbt versions IIRC. (We should probably bump that sbt version now… #233 attempts to do that.)

Let's add this test anyway, it'll be helpful when we bump the sbt version.

@jtjeferreira
Copy link
Contributor Author

Let's add this test anyway, it'll be helpful when we bump the sbt version.

ok let me just revert the other changes

Copy link
Member

@alexarchambault alexarchambault left a comment

Choose a reason for hiding this comment

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

Thanks @jtjeferreira!

@alexarchambault alexarchambault merged commit d8f97c3 into coursier:master Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants