-
Notifications
You must be signed in to change notification settings - Fork 26
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
Generalize Jira start API #101
Generalize Jira start API #101
Conversation
11f32fc
to
4bfee89
Compare
4bfee89
to
fd31f40
Compare
|
||
@Test | ||
fun shouldInstallJira() { | ||
// given | ||
val installation = ParallelInstallation( | ||
jiraHomeSource = EmptyJiraHome(), | ||
productDistribution = PublicJiraSoftwareDistribution("7.13.0"), | ||
jdk = AdoptOpenJDK11() |
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.
Turns out that Jira 7.13.0 didn't like this JDK during start:
Wrong JVM version! You are running with openjdk version "11.0.1" 2018-10-16 but JIRA requires at least 1.8 to run.
import com.atlassian.performance.tools.infrastructure.toSsh | ||
import com.atlassian.performance.tools.sshubuntu.api.SshUbuntuContainer | ||
import org.assertj.core.api.Assertions.assertThat | ||
import org.junit.Test | ||
import java.nio.file.Files | ||
import java.util.function.Consumer | ||
|
||
class ParallelInstallationIT { | ||
class JiraLaunchScriptIT { |
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.
I'm renaming the integration test to point to the biggest top-level chunk. E.g now it tests both ParallelInstallation
and JiraLaunchScript
, but the launch script goes further and relies on the installation, so it encompasses a bigger chunk of the system. When I'll add hooks API, they will be the top level.
Depends on #100