-
Notifications
You must be signed in to change notification settings - Fork 44
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
Fail integration test when no jdk1.7 exists #41
Fail integration test when no jdk1.7 exists #41
Conversation
}.get().executablePath | ||
} catch (e : Exception) { | ||
logger.warn("The scavenger old agent should be built on JDK1.7. But it does not exist in this build") | ||
"---" |
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.
Add no jdk1.7 exit signal with "---"
@@ -61,7 +62,7 @@ public static void beforeAll() { | |||
assertNotNull("This test must be started from Gradle", codekvastAgentPath); | |||
assertNotNull("This test must be started from Gradle", classpath); | |||
assertNotNull("This test must be started from Gradle", javaPaths); | |||
|
|||
assertFalse("This test must be tested with JDK1.7", javaPaths.contains("---")); |
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.
Fail the integration test with "---" property.
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.
This PR resolves issue #38
0769a64
to
e739d93
Compare
e739d93
to
68f3e0e
Compare
Use "" instead of "$version:---" |
Prevent scavenger project intellij import failure when the no JDK1.7 exists