WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

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

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:
- 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
- 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
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