Skip to content

Commit

Permalink
fix: remove force exit from blackbox tests (#7397)
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysu authored Nov 19, 2024
1 parent 5437fbc commit 6379aa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/web3/test/cjs_black_box/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"type": "commonjs",
"scripts": {
"test:geth:http": "WEB3_SYSTEM_TEST_BACKEND=geth WEB3_SYSTEM_TEST_PROVIDER=http://localhost:8545 jest",
"test:geth:ws": "WEB3_SYSTEM_TEST_BACKEND=geth WEB3_SYSTEM_TEST_PROVIDER=ws://localhost:8545 jest --forceExit",
"test:geth:ws": "WEB3_SYSTEM_TEST_BACKEND=geth WEB3_SYSTEM_TEST_PROVIDER=ws://localhost:8545 jest",
"test:infura:http": "WEB3_SYSTEM_TEST_BACKEND=infura jest",
"test:infura:ws": "WEB3_SYSTEM_TEST_BACKEND=infura jest --forceExit"
"test:infura:ws": "WEB3_SYSTEM_TEST_BACKEND=infura jest"
},
"dependencies": {
"web3": "5.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/web3/test/esm_black_box/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"scripts": {
"test:hardhat:http": "WEB3_SYSTEM_TEST_BACKEND=hardhat WEB3_SYSTEM_TEST_PROVIDER=http://localhost:8545 jest",
"test:geth:http": "WEB3_SYSTEM_TEST_BACKEND=geth WEB3_SYSTEM_TEST_PROVIDER=http://localhost:8545 jest",
"test:geth:ws": "WEB3_SYSTEM_TEST_BACKEND=geth WEB3_SYSTEM_TEST_PROVIDER=ws://localhost:8545 jest --forceExit",
"test:geth:ws": "WEB3_SYSTEM_TEST_BACKEND=geth WEB3_SYSTEM_TEST_PROVIDER=ws://localhost:8545 jest",
"test:infura:http": "WEB3_SYSTEM_TEST_BACKEND=infura jest",
"test:infura:ws": "WEB3_SYSTEM_TEST_BACKEND=infura jest --forceExit"
"test:infura:ws": "WEB3_SYSTEM_TEST_BACKEND=infura jest"
},
"dependencies": {
"web3": "5.0.0"
Expand Down

1 comment on commit 6379aa8

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 6379aa8 Previous: 5437fbc Ratio
processingTx 23194 ops/sec (±6.51%) 23185 ops/sec (±7.07%) 1.00
processingContractDeploy 40151 ops/sec (±7.62%) 39369 ops/sec (±7.85%) 0.98
processingContractMethodSend 16041 ops/sec (±7.41%) 16560 ops/sec (±6.83%) 1.03
processingContractMethodCall 27123 ops/sec (±7.21%) 27873 ops/sec (±6.86%) 1.03
abiEncode 43887 ops/sec (±6.78%) 44185 ops/sec (±8.48%) 1.01
abiDecode 30676 ops/sec (±7.58%) 31247 ops/sec (±7.26%) 1.02
sign 1568 ops/sec (±1.16%) 1579 ops/sec (±0.89%) 1.01
verify 362 ops/sec (±1.51%) 371 ops/sec (±0.50%) 1.02

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.