File tree 6 files changed +9
-9
lines changed
6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 9
9
end
10
10
11
11
app . deploy do
12
- expect ( app . output ) . to include ( " Installing OpenJDK #{ DEFAULT_OPENJDK_VERSION } " )
12
+ expect ( app . output ) . to match ( / Installing (Heroku|Azul Zulu) OpenJDK #{ DEFAULT_OPENJDK_VERSION } / )
13
13
expect ( app . output ) . to match ( /Downloading: leiningen-2.[5-9].[0-9]-standalone.jar/ )
14
14
expect ( app . output ) . to include ( "Running: lein uberjar" )
15
15
25
25
end
26
26
27
27
app . deploy do
28
- expect ( app . output ) . to include ( " Installing OpenJDK #{ DEFAULT_OPENJDK_VERSION } " )
28
+ expect ( app . output ) . to match ( / Installing (Heroku|Azul Zulu) OpenJDK #{ DEFAULT_OPENJDK_VERSION } / )
29
29
expect ( app . output ) . to match ( /Downloading: leiningen-2.[5-9].[0-9]-standalone.jar/ )
30
30
expect ( app . output ) . to include ( "Running: lein with-profile production do deps, compile :all" )
31
31
Original file line number Diff line number Diff line change 5
5
it "compiles a project without :min-lein-version with the default JDK version" do
6
6
new_default_hatchet_runner ( "test/spec/fixtures/repos/lein-1-jdk-8" ) . tap do |app |
7
7
app . deploy do
8
- expect ( app . output ) . to include ( "Installing OpenJDK 8... done " )
8
+ expect ( app . output ) . to include ( "Installing Azul Zulu OpenJDK 1.8 " )
9
9
expect ( app . output ) . to include ( "No :min-lein-version found in project.clj; using 1.7.1." )
10
10
expect ( app . output ) . to include ( "To use Leiningen 2.x, add this to project.clj: :min-lein-version \" 2.0.0\" " )
11
11
expect ( app . output ) . to include ( "Downloading: leiningen-1.7.1-standalone.jar" )
16
16
it "compiles a project with :min-lein-version set to 2.0.0 with the default JDK version" do
17
17
new_default_hatchet_runner ( "test/spec/fixtures/repos/lein-2-jdk-8" ) . tap do |app |
18
18
app . deploy do
19
- expect ( app . output ) . to include ( "Installing OpenJDK 8... done " )
19
+ expect ( app . output ) . to include ( "Installing Azul Zulu OpenJDK 1.8 " )
20
20
expect ( app . output ) . to include ( "Downloading: leiningen-2.9.1-standalone.jar" )
21
21
expect ( app . output ) . not_to include ( "WARNING: no :min-lein-version found in project.clj; using 1.7.1." )
22
22
end
26
26
it "runs `lein uberjar` when the project has a :uberjar-name setting" do
27
27
new_default_hatchet_runner ( "test/spec/fixtures/repos/lein-2-jdk-8-uberjar" ) . tap do |app |
28
28
app . deploy do
29
- expect ( app . output ) . to include ( "Installing OpenJDK 8... done " )
29
+ expect ( app . output ) . to include ( "Installing Azul Zulu OpenJDK 1.8 " )
30
30
expect ( app . output ) . to include ( "Running: lein uberjar" )
31
31
end
32
32
end
Original file line number Diff line number Diff line change 9
9
end
10
10
11
11
app . deploy do
12
- expect ( app . output ) . to include ( " Installing OpenJDK #{ DEFAULT_OPENJDK_VERSION } " )
12
+ expect ( app . output ) . to match ( / Installing (Heroku|Azul Zulu) OpenJDK #{ DEFAULT_OPENJDK_VERSION } / )
13
13
expect ( app . output ) . to match ( /Downloading: leiningen-2.[0-9].[0-9]-standalone.jar/ )
14
14
expect ( app . output ) . to include ( "Running: lein uberjar" )
15
15
expect ( http_get ( app ) ) . to include ( '["Hello" :from Heroku]' )
Original file line number Diff line number Diff line change 1
- java.runtime.version =8
1
+ java.runtime.version =zulu- 8
Original file line number Diff line number Diff line change 1
- java.runtime.version =8
1
+ java.runtime.version =zulu- 8
Original file line number Diff line number Diff line change 1
- java.runtime.version =8
1
+ java.runtime.version =zulu- 8
You can’t perform that action at this time.
0 commit comments