Skip to content

Commit fb920f2

Browse files
committed
fix: add -d parameter in gas test
1 parent 98a3c20 commit fb920f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎./workflows/check-PRs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
run: |
124124
docker build --no-cache -t ghcr.io/eyblockchain/local-zokrates -f zokrates.Dockerfile .
125125
docker-compose build
126-
./start-nightfall -g &> test-gas.log &disown
126+
./start-nightfall -g -d &> test-gas.log &disown
127127
env:
128128
TRANSACTIONS_PER_BLOCK: 32
129129

‎test/utils.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export class Web3Client {
209209

210210
async waitForEvent(eventLogs, expectedEvents, count = 1) {
211211
const length = count !== 1 ? count : expectedEvents.length;
212-
let timeout = 1000;
212+
let timeout = 100;
213213
while (eventLogs.length < length) {
214214
await new Promise(resolve => setTimeout(resolve, 3000));
215215
timeout--;

0 commit comments

Comments
 (0)