File tree Expand file tree Collapse file tree 7 files changed +17
-16
lines changed Expand file tree Collapse file tree 7 files changed +17
-16
lines changed Original file line number Diff line number Diff line change 121121 ] ;
122122 } ;
123123
124- test-integration = commonAttrs // {
125- dependsOn = [ compile ] ;
126- label = "integration tests" ;
127- command = ''
128- nix-shell --run '$SBT coverageOff it:test'
129- '' ;
130- artifactPaths = [ "target/test-reports/**/*" ] ;
131- } ;
132-
133124 test-ets = commonAttrs // {
134125 dependsOn = [ compile ] ;
135126 label = "ETS" ;
145136 ] ;
146137 } ;
147138
139+ test-integration = commonAttrs // {
140+ dependsOn = [ compile ] ;
141+ label = "integration tests" ;
142+ command = ''
143+ nix-shell --run '$SBT coverageOff it:test'
144+ '' ;
145+ artifactPaths = [ "target/test-reports/**/*" ] ;
146+ timeoutInMinutes = 60 ;
147+ } ;
148+
148149 coverageReport = commonAttrs // {
149150 dependsOn = [ test-unit test-evm ] ;
150151 label = "coverage report" ;
154155 } ;
155156
156157 additional = commonAttrs // {
157- dependsOn = [ compile ] ;
158+ dependsOn = [ compile test-integration ] ;
158159 label = "additional compilation & dist" ;
159160 command = ''
160161 nix-shell --run '$SBT benchmark:compile dist'
Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ with pkgs;
2121mkShell {
2222 nativeBuildInputs = [ sbt solc lllc jdk8 protoc-wrapper retesteth netcat-gnu ] ;
2323 # SBT = "sbt -v -mem 2048 -J-Xmx4g -Dsbt.ivy.home=/cache/ivy2 -Dsbt.boot.directory=/cache/sbt -Dmaven.repo.local=/cache/maven -Dnix=true";
24- SBT = "sbt -v -mem 2048 -J-Xmx4g -Dnix=true" ;
24+ SBT = "sbt -v -mem 2048 -J-Xmx6g -Dnix=true" ;
2525}
Original file line number Diff line number Diff line change 22
33DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
44cd $DIR /..
5- ./bin/mantis -- eckeygen " $@ "
5+ exec ./bin/mantis -- eckeygen " $@ "
Original file line number Diff line number Diff line change 22
33DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
44cd $DIR /..
5- ./bin/mantis -Dconfig.file=./conf/faucet.conf " $@ " -- faucet
5+ exec ./bin/mantis -Dconfig.file=./conf/faucet.conf " $@ " -- faucet
Original file line number Diff line number Diff line change @@ -11,4 +11,4 @@ elif [ -z "$1" ]; then
1111 CHAIN_PARAM=" -Dconfig.file=./conf/etc.conf"
1212fi
1313
14- ./bin/mantis ${CHAIN_PARAM: +" $CHAIN_PARAM " } " $@ "
14+ exec ./bin/mantis ${CHAIN_PARAM: +" $CHAIN_PARAM " } " $@ "
Original file line number Diff line number Diff line change 33DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
44cd $DIR /..
55
6- ./bin/mantis vm-server " $@ "
6+ exec ./bin/mantis vm-server " $@ "
Original file line number Diff line number Diff line change 22
33DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
44cd $DIR /..
5- ./bin/mantis -- signature-validator " $@ "
5+ exec ./bin/mantis -- signature-validator " $@ "
You can’t perform that action at this time.
0 commit comments