@@ -150,7 +150,7 @@ void getSrcVersion() {
150150 return version
151151}
152152
153- def linuxTesting (file , env_name , run_interoperability_tests , network_name , stashBuildResults ) {
153+ def linuxTesting (file , env_name , network_name , stashBuildResults ) {
154154 def poolInst
155155 try {
156156 echo " ${ env_name} Test: Checkout csm"
@@ -168,17 +168,11 @@ def linuxTesting(file, env_name, run_interoperability_tests, network_name, stash
168168 echo " ${ env_name} Test: Test"
169169
170170 try {
171- def featuresArgs = ' '
172- if (run_interoperability_tests) {
173- sh ' chmod -R 777 /home/indy/indy-anoncreds/'
174- featuresArgs = ' --features "interoperability_tests"'
175- }
176-
177171 echo " ${ env_name} Libindy Test: Build"
178- sh " RUST_BACKTRACE=1 cargo test --release $f eaturesArgs --no-run"
172+ sh " RUST_BACKTRACE=1 cargo test --release --no-run"
179173
180174 echo " ${ env_name} Libindy Test: Run tests"
181- sh " RUST_BACKTRACE=1 RUST_LOG=trace RUST_TEST_THREADS=1 TEST_POOL_IP=10.0.0.2 cargo test --release $f eaturesArgs "
175+ sh " RUST_BACKTRACE=1 RUST_LOG=indy::,zmq= trace RUST_TEST_THREADS=1 TEST_POOL_IP=10.0.0.2 cargo test --release"
182176
183177 if (stashBuildResults) {
184178 stash includes : ' target/release/libindy.so,target/release/libindy.a' , name : ' LibindyUbuntuBuildResult'
@@ -201,7 +195,7 @@ def linuxTesting(file, env_name, run_interoperability_tests, network_name, stash
201195 testEnv. inside(" --ip=\" 10.0.0.3\" --network=${ network_name} " ) {
202196 echo " ${ env_name} Libindy Test: Test java wrapper"
203197
204- sh " RUST_LOG=trace TEST_POOL_IP=10.0.0.2 mvn clean test"
198+ sh " RUST_LOG=indy::,zmq= trace TEST_POOL_IP=10.0.0.2 mvn clean test"
205199 }
206200 }
207201
@@ -212,7 +206,7 @@ def linuxTesting(file, env_name, run_interoperability_tests, network_name, stash
212206
213207 sh '''
214208 python3.5 -m pip install --user -e .
215- LD_LIBRARY_PATH=./:${LD_LIBRARY_PATH} RUST_LOG=trace TEST_POOL_IP=10.0.0.2 python3.5 -m pytest
209+ LD_LIBRARY_PATH=./:${LD_LIBRARY_PATH} RUST_LOG=indy::,zmq= trace TEST_POOL_IP=10.0.0.2 python3.5 -m pytest
216210 '''
217211 }
218212 }
@@ -227,7 +221,7 @@ def linuxTesting(file, env_name, run_interoperability_tests, network_name, stash
227221 sh " LIBRARY_PATH=./ RUST_BACKTRACE=1 cargo test --release --no-run"
228222
229223 echo " ${ env_name} Indy Cli Test: Run tests"
230- sh ' LD_LIBRARY_PATH=./:${LD_LIBRARY_PATH} RUST_BACKTRACE=1 RUST_LOG=trace RUST_TEST_THREADS=1 TEST_POOL_IP=10.0.0.2 cargo test --release'
224+ sh ' LD_LIBRARY_PATH=./:${LD_LIBRARY_PATH} RUST_BACKTRACE=1 RUST_LOG=indy::,zmq= trace RUST_TEST_THREADS=1 TEST_POOL_IP=10.0.0.2 cargo test --release'
231225
232226 if (stashBuildResults) {
233227 stash includes : ' target/release/indy-cli' , name : ' IndyCliUbuntuBuildResult'
@@ -277,7 +271,7 @@ def windowsTesting() {
277271 echo " Windows Libindy Test: Run tests"
278272 withEnv([
279273 " RUST_TEST_THREADS=1" ,
280- " RUST_LOG=trace" ,
274+ " RUST_LOG=indy::,zmq= trace" ,
281275 " TEST_POOL_IP=$INDY_SDK_SERVER_IP "
282276 ]) {
283277 bat " cargo test --release"
@@ -305,7 +299,7 @@ def windowsTesting() {
305299 echo " Windows Indy Cli Test: Run tests"
306300 withEnv([
307301 " RUST_TEST_THREADS=1" ,
308- " RUST_LOG=trace" ,
302+ " RUST_LOG=indy::,zmq= trace" ,
309303 " TEST_POOL_IP=$INDY_SDK_SERVER_IP "
310304 ]) {
311305 bat " cargo test --release"
@@ -337,15 +331,15 @@ def windowsTesting() {
337331def ubuntuTesting () {
338332 node(' ubuntu' ) {
339333 stage(' Ubuntu Test' ) {
340- linuxTesting(" ci/ubuntu.dockerfile ci" , " Ubuntu" , false , " pool_network" , true )
334+ linuxTesting(" ci/ubuntu.dockerfile ci" , " Ubuntu" , " pool_network" , true )
341335 }
342336 }
343337}
344338
345339def rhelTesting () {
346340 node(' ubuntu' ) {
347341 stage(' RedHat Test' ) {
348- linuxTesting(" ci/amazon.dockerfile ci" , " RedHat" , false , " pool_network" , false )
342+ linuxTesting(" ci/amazon.dockerfile ci" , " RedHat" , " pool_network" , false )
349343 }
350344 }
351345}
0 commit comments