Verify #19
verify.yml
on: workflow_dispatch
Annotations
3 errors
src/pool.test.ts > instance: 'stackup' > error: start more than once on same port:
src/pool.test.ts#L257
AssertionError: promise resolved "{ _internal: { …(2) }, …(14) }" instead of rejecting
- Expected
+ Received
- [Error: rejected promise]
+ Object {
+ "_internal": Object {
+ "args": Object {
+ "ethClientUrl": "http://localhost:32905",
+ "privateKey": "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",
+ },
+ "process": ChildProcess {
+ "_closesGot": 3,
+ "_closesNeeded": 3,
+ "_events": Object {},
+ "_eventsCount": 0,
+ "_handle": null,
+ "_maxListeners": undefined,
+ "all": undefined,
+ "connected": false,
+ "duplex": [Function bound createDuplex],
+ "exitCode": 1,
+ "iterable": [Function bound createIterable],
+ "kill": [Function bound subprocessKill],
+ "killed": false,
+ "pid": 7466,
+ "pipe": [Function bound pipeToSubprocess],
+ "readable": [Function bound createReadable],
+ "signalCode": null,
+ "spawnargs": Array [
+ "docker",
+ "run",
+ "--net",
+ "host",
+ "--add-host",
+ "host.docker.internal:host-gateway",
+ "--add-host",
+ "localhost:host-gateway",
+ "-p",
+ "37981:37981",
+ "-e",
+ "ERC4337_BUNDLER_PORT=37981",
+ "-e",
+ "ERC4337_BUNDLER_ETH_CLIENT_URL=http://localhost:32905",
+ "-e",
+ "ERC4337_BUNDLER_PRIVATE_KEY=ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",
+ "stackupwallet/stackup-bundler:latest",
+ "/app/stackup-bundler",
+ "start",
+ "--mode",
+ "private",
+ ],
+ "spawnfile": "docker",
+ "stderr": Socket {
+ "_closeAfterHandlingError": false,
+ "_events": Object {
+ "close": [Function anonymous],
+ "data": Array [
+ [Function anonymous],
+ [Function anonymous],
+ ],
+ "drain": undefined,
+ "end": [Function onReadableStreamEnd],
+ "error": undefined,
+ "finish": undefined,
+ "prefinish": undefined,
+ "readable": undefined,
+ },
+ "_eventsCount": 3,
+ "_hadError": false,
+ "_host": null,
+ "_maxListeners": undefined,
+ "_parent": null,
+ "_pendingData": null,
+ "_pendingEncoding": "",
+ "_readableState": ReadableState {
+ "awaitDrainWriters": null,
+ "buffer": Array [],
+ "bufferIndex": 0,
+ "highWaterMark": 65536,
+ "length": 0,
+ "pipes": Array [],
+ Symbol(kState): 194512756,
+ },
+ "_server": null,
+ "_sockname": null,
+ "_writableState": WritableState {
+ "bufferedIndex": 0,
+ "corked": 0,
+ "highWaterMark": 65536,
+ "length": 0,
+ "onwrite": [Function bound onwrite],
+ "pendingcb": 0,
+ "writelen": 0,
+ Symbol(kState): 1091450228,
+ Symbol(kBufferedValue): null,
+ },
+ "allowHalfOpen": false,
+ "connecting": false,
+ "server": null,
+ "write": [Function writeAfterFIN],
+ Symbol(async_id_symbol): 3036,
+ Symbol(kHandle): null,
+ Symbol(lastWriteQueueSize): 0,
+ Symbol(timeout): null,
+ Symbol(kBuffer): null,
+ Symbol(kBufferCb): null,
+ Symbol(kBufferGen): null,
+ Symbol(shapeMode): true,
+ Symbol(kCapture): false,
+ Symbol(kSetNoDelay): false,
+ Symbol(kSetKeepAlive): false,
+ Symbol(kSetKeepAliveInitialDelay): 0,
+ Symbol(kBytesRead): 311,
+ Symbol(kBytesWritten): 0,
+ },
+ "stdin": Socket {
+ "_closeAfterHandlingError": false,
+ "_destroy": [Function anonymous],
+ "_events": Object {
+ "close": undefined,
+ "data": undefined,
+ "drain": undefined,
+ "end": [Function onReadableStreamEnd],
+ "error": undefined,
+ "
|
src/instances/stackup.test.ts > behavior: can subscribe to stderr:
src/instances/stackup.test.ts#L91
AssertionError: promise resolved "[Function bound stop]" instead of rejecting
- Expected:
[Error: rejected promise]
+ Received:
[Function bound stop]
❯ src/instances/stackup.test.ts:91:34
|
Test
Process completed with exit code 1.
|