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

Add preference to update snapshots for Maven projects #1217

Merged
merged 1 commit into from
Dec 3, 2019

Conversation

snjeza
Copy link
Contributor

@snjeza snjeza commented Oct 18, 2019

Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
@@ -177,6 +179,42 @@ public void testDownloadSources() throws Exception {
assertNotNull(source);
}

@Test
public void testUpdateSnapshots() throws Exception {
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this test fail without the fix?

Copy link
Contributor Author

@snjeza snjeza Oct 21, 2019

Choose a reason for hiding this comment

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

No, it doesn't fail. We are testing whether a dependency has actually been added when using the new preference.

Copy link
Contributor

Choose a reason for hiding this comment

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

if it doesn't fail with or without the fix, then the test proves nothing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The new preference doesn't add any functionality. It just enhances performance. We are testing whether it breaks the update maven project action.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@fbricon Do you want me to remove this test?

@fbricon fbricon changed the title Stuck on '5% Update project ...' for a long time Add preference to update snapshots Dec 3, 2019
@fbricon fbricon changed the title Add preference to update snapshots Add preference to update snapshots for Maven projects Dec 3, 2019
@fbricon fbricon merged commit 48ba898 into eclipse-jdtls:master Dec 3, 2019
@fbricon fbricon added this to the End November 2019 milestone Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stuck on "5% Update project ..." for a long time
2 participants