Commit 006ac6ca authored by John Zhang's avatar John Zhang

fix: DayTrader GitLab CI problem (Issue #16)

The problem was because Geronimo server wants to read from stdin.
GitLab runner doesn't provide stdin, so it just reads an EOF and quits.
This is why GBeans is not running.
Thus the solution is to keep stdin open for the duration of the benchmark.
Setting a time out (120 seconds) with `sleep` command seems to work.
NOTE: this value may need to be modified on slower machines.
parent 2ee61d18
Pipeline #2209 failed with stage
in 5 minutes and 15 seconds
......@@ -73,12 +73,12 @@ tomcat:
tradebeans:
script:
- script -q scriptfile ant -Dbuild.target-jar=dacapo.jar tradebeans
- script -q scriptfile java -jar dacapo.jar tradebeans
- sleep 120 | script -q scriptfile java -jar dacapo.jar tradebeans
tradesoap:
script:
- script -q scriptfile ant -Dbuild.target-jar=dacapo.jar tradesoap
- script -q scriptfile java -jar dacapo.jar tradesoap
- sleep 120 | script -q scriptfile java -jar dacapo.jar tradesoap
xalan:
script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment