Skip to content

Commit aea30c8

Browse files
authored
Merge pull request apache#311 from theopenlab/change-mocha-timeout
Set mocha timeout to 200000ms
2 parents 21ee9e0 + 3c33eab commit aea30c8

File tree

1 file changed

+2
-1
lines changed
  • playbooks/osb-checker-test-huaweicloud

1 file changed

+2
-1
lines changed

playbooks/osb-checker-test-huaweicloud/run.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,14 @@
8686
# openservicebrokerapi/osb-checker is required project. Run tests
8787
pushd $GOPATH/src/github.com/openservicebrokerapi/osb-checker/2.13/tests/
8888
npm install
89+
npm install --global mocha
8990
set +x
9091
checker_cfg=config_mock.json
9192
for service in obs dcs rds dms; do
9293
echo "#########################################################################"
9394
echo "Runing osb-checker against huaweicloud ${service} service...."
9495
sed -i "s/${checker_cfg}/config_huaweicloud_${service}.json/g" test/test.js
95-
npm test || exitcode=$?
96+
mocha -t 200000 test/test.js || exitcode=$?
9697
checker_cfg=config_huaweicloud_${service}.json
9798
done
9899
popd

0 commit comments

Comments
 (0)