Skip to content

Commit 0ca3218

Browse files
authored
test: fix failing DAPI Platform tests (#629)
* chore: update dapi-client and wallet-lib * test: increase send_tx timeout
1 parent f713d9c commit 0ca3218

File tree

3 files changed

+75
-126
lines changed

3 files changed

+75
-126
lines changed

package-lock.json

Lines changed: 70 additions & 122 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
"homepage": "https://github.com/dashpay/dash-network-deploy#readme",
2323
"dependencies": {
2424
"@dashevo/bls": "~1.3.0",
25-
"@dashevo/dapi-client": "^0.25.15",
25+
"@dashevo/dapi-client": "^1.0.0-dev.8",
2626
"@dashevo/dashcore-lib": "^0.20.10",
2727
"@dashevo/dashd-rpc": "^18.2.0",
28-
"@dashevo/wallet-lib": "^7.25.15",
28+
"@dashevo/wallet-lib": "^8.0.0-dev.8",
2929
"chai": "^4.3.10",
3030
"chai-arrays": "^2.2.0",
3131
"chai-as-promised": "^7.1.1",

test/smoke/quorum.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,9 @@ describe('Quorums', () => {
216216
return Promise.all(promises);
217217
});
218218

219-
before('Send a transaction', async () => {
220-
const timeout = 25000; // set individual rpc client timeout
219+
before('Send a transaction', async function before() {
220+
const timeout = 60000; // set individual rpc client timeout
221+
this.timeout(timeout); // set mocha timeout
221222

222223
const client = createRpcClientFromConfig(inventory.wallet_nodes.hosts[0]);
223224

0 commit comments

Comments
 (0)