-
Notifications
You must be signed in to change notification settings - Fork 401
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
Conversation
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 { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
Fixes redhat-developer/vscode-java#1102
Requires redhat-developer/vscode-java#1109
Signed-off-by: Snjezana Peco snjezana.peco@redhat.com