Skip to content

Commit

Permalink
PP-48: Expose the web socket connection ports from rskj node containe…
Browse files Browse the repository at this point in the history
…r and set a longer timeout for the tests (#158)
  • Loading branch information
antomor authored Sep 7, 2021
1 parent 352c425 commit e09bffc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ services:
command: --regtest
ports:
- '127.0.0.1:4444:4444'
- '127.0.0.1:4445:4445'
networks:
- 'rif-relay-testing'

Expand Down
5 changes: 4 additions & 1 deletion truffle.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ module.exports = {
onlyCalledMethods: true,
showTimeSpent: true,
excludeContracts: []
}
},
// value in ms 1_800_000 (= 1000 * 60 * 30 = 30 minutes), since that the default value 300_000 (= 5 mins) isn't enough
before_timeout: 1800000, // for before and before_all methods
timeout: 1800000 // for the tests
},
compilers: {
solc: {
Expand Down

0 comments on commit e09bffc

Please sign in to comment.