fix ci tests

This commit is contained in:
Jonathan Rainville 2019-02-12 09:02:54 -05:00 committed by Iuri Matias
parent f6beeff9c7
commit 69ac239ca0
3 changed files with 8 additions and 3 deletions

View File

@ -34,7 +34,13 @@ class Test {
init(callback) {
this.gasLimit = constants.tests.gasLimit;
this.events.request('deploy:setGasLimit', this.gasLimit);
const waitingForReady = setTimeout(() => {
this.logger.warn('Waiting for the blockchain connector to be ready...');
// TODO add docs link to how to install one
this.logger.warn('If you did not install a blockchain connector, stop this process and install one');
}, 5000);
this.events.request('blockchain:connector:ready', () => {
clearTimeout(waitingForReady);
if (this.options.node !== 'embark') {
this.showNodeHttpWarning();
return callback();

View File

@ -11,8 +11,7 @@
"react-bootstrap": "0.32.4",
"react-dom": "16.7.0",
"rimraf": "2.6.3",
"zeppelin-solidity": "1.12.0",
"web3Connector": "file:../../../packages/web3Connector"
"zeppelin-solidity": "1.12.0"
},
"name": "test_app",
"private": true,

View File

@ -1,4 +1,4 @@
/*global describe, it, web3, config*/
/*global describe, it, config*/
const assert = require('assert');
const MyToken = require('Embark/contracts/MyToken');
const MyToken2 = require('Embark/contracts/MyToken2');