From 5525e1e9d46fd0bca42733e857d81cd625c4274e Mon Sep 17 00:00:00 2001 From: Todd Baur Date: Wed, 8 Mar 2017 22:49:42 +0900 Subject: [PATCH] add this.timeout(15000) to tests to allow the solc enough space to work --- test/compiler.js | 2 ++ test/contracts.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/compiler.js b/test/compiler.js index c44d3ed9..806da7ae 100644 --- a/test/compiler.js +++ b/test/compiler.js @@ -12,6 +12,8 @@ describe('embark.Compiler', function() { var compiler = new Compiler({logger: new TestLogger({})}); describe('#compile_solidity', function() { + this.timeout(15000); + var expectedObject = {}; expectedObject["SimpleStorage"] = {"code":"606060405234610000576040516020806100f083398101604052515b60008190555b505b60bf806100316000396000f300606060405263ffffffff60e060020a6000350416632a1afcd98114603657806360fe47b11460525780636d4ce63c146061575b6000565b346000576040607d565b60408051918252519081900360200190f35b34600057605f6004356083565b005b346000576040608c565b60408051918252519081900360200190f35b60005481565b60008190555b50565b6000545b905600a165627a7a72305820a250be048d43f54e9afbb37211dc73ba843d23b95863b60afe703903500077220029","realRuntimeBytecode": "606060405263ffffffff60e060020a6000350416632a1afcd98114603657806360fe47b11460525780636d4ce63c146061575b6000565b346000576040607d565b60408051918252519081900360200190f35b34600057605f6004356083565b005b346000576040608c565b60408051918252519081900360200190f35b60005481565b60008190555b50565b6000545b905600a165627a7a72305820","runtimeBytecode":"606060405263ffffffff60e060020a6000350416632a1afcd98114603657806360fe47b11460525780636d4ce63c146061575b6000565b346000576040607d565b60408051918252519081900360200190f35b34600057605f6004356083565b005b346000576040608c565b60408051918252519081900360200190f35b60005481565b60008190555b50565b6000545b905600a165627a7a72305820a250be048d43f54e9afbb37211dc73ba843d23b95863b60afe703903500077220029","swarmHash": "a250be048d43f54e9afbb37211dc73ba843d23b95863b60afe70390350007722","gasEstimates":{"creation":[20131,38200],"external":{"get()":269,"set(uint256)":20163,"storedData()":224},"internal":{}},"functionHashes":{"get()":"6d4ce63c","set(uint256)":"60fe47b1","storedData()":"2a1afcd9"},"abiDefinition":[{"constant":true,"inputs":[],"name":"storedData","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"x","type":"uint256"}],"name":"set","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"get","outputs":[{"name":"retVal","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[{"name":"initialValue","type":"uint256"}],"payable":false,"type":"constructor"}]}; diff --git a/test/contracts.js b/test/contracts.js index 873383a1..58a7b053 100644 --- a/test/contracts.js +++ b/test/contracts.js @@ -9,6 +9,8 @@ var readFile = function(file) { }; describe('embark.Contratcs', function() { + this.timeout(15000); + describe('simple', function() { var contractsManager = new ContractsManager({ contractFiles: [