Skip to content

fix: added polling logic to ensure the retrieval of fully mature reco… #9675

fix: added polling logic to ensure the retrieval of fully mature reco…

fix: added polling logic to ensure the retrieval of fully mature reco… #9675

GitHub Actions / Test Results failed Jan 10, 2025 in 0s

1 fail, 37 pass in 17m 14s

  3 files   -  24   63 suites   - 313   17m 14s ⏱️ - 1h 21m 34s
 38 tests  - 577   37 ✅  - 552  0 💤  - 3  1 ❌  - 22 
114 runs   - 770  111 ✅  - 744  0 💤  - 4  3 ❌  - 22 

Results for commit 6e88f01. ± Comparison against earlier commit 16939ff.

Annotations

Check warning on line 0 in @release captures transfer events

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Subscribes to hts tokens and listens for synthetic log events @release captures transfer events (@release captures transfer events)

test-results.050ef04ceb01df8f0cf050f19a869011.xml [took 4m 0s]
test-results.1e80ab02675cf3bec3285beb46441552.xml [took 4m 0s]
test-results.f63351533048863453848eb9bf1b4b6c.xml [took 4m 0s]
Raw output
Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/ws-server/tests/acceptance/index.spec.ts)
Error: Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/ws-server/tests/acceptance/index.spec.ts)
    at listOnTimeout (node:internal/timers:581:17)
    at processTimers (node:internal/timers:519:7)

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

38 tests found

There are 38 tests, see "Raw output" for the full list of tests.
Raw output
@release Expect Unsupported Method Error message when subscribing for "other" method ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection @release Expect Unsupported Method Error message when subscribing for "other" method
@release Socket server responds to the eth_chainId event ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection @release Socket server responds to the eth_chainId event
@release Subscribes for contract logs for a specific contract address (using evmAddress) ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Subscribes to log events @release Subscribes for contract logs for a specific contract address (using evmAddress)
@release Subscribes for contract logs for a specific contract address (using long zero address) ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Subscribes to log events @release Subscribes for contract logs for a specific contract address (using long zero address)
@release captures approve and transferFrom events ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Subscribes to hts tokens and listens for synthetic log events @release captures approve and transferFrom events
@release captures transfer events ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Subscribes to hts tokens and listens for synthetic log events @release captures transfer events
@release should subscribe to newHeads and receive a valid JSON RPC response ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe newHeads Configuration given WS_NEW_HEADS_ENABLED=undefined are set @release should subscribe to newHeads and receive a valid JSON RPC response
Calling eth_subscribe Logs with a non existent address should fail ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe ethSubscribe Logs Params Validations Calling eth_subscribe Logs with a non existent address should fail
Calling eth_subscribe Logs with an empty address should fail ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe ethSubscribe Logs Params Validations Calling eth_subscribe Logs with an empty address should fail
Calling eth_subscribe Logs with an invalid topics should fail ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe ethSubscribe Logs Params Validations Calling eth_subscribe Logs with an invalid topics should fail
Calling eth_unsubscribe decrements the internal counters ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection subscription limits Calling eth_unsubscribe decrements the internal counters
Closes connections to the server on webSocket close ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection Closes connections to the server on webSocket close
Connection TTL is enforced, should close all connections ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection TTL Connection TTL is enforced, should close all connections
Does not allow more connections from the same IP than the specified limit ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe IP connection limits Does not allow more connections from the same IP than the specified limit
Does not allow more connections than the connection limit ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection limit Does not allow more connections than the connection limit
Does not allow more subscriptions per connection than the specified limit with newHeads ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe newHeads Configuration given WS_SUBSCRIPTION_LIMIT=2, WS_NEW_HEADS_ENABLED=true are set Does not allow more subscriptions per connection than the specified limit with newHeads
Does not allow more subscriptions per connection than the specified limit ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection subscription limits Does not allow more subscriptions per connection than the specified limit
Establishes multiple connections ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection Establishes multiple connections
Expect Unsupported Method Error message when subscribing for newPendingTransactions method ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection Expect Unsupported Method Error message when subscribing for newPendingTransactions method
Multiple ws connections and multiple subscriptions per connection ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection Multiple ws connections and multiple subscriptions per connection
Should ignore invalid params in filter object and still successfully call eth_subscribe Logs  ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe ethSubscribe Logs Params Validations Should ignore invalid params in filter object and still successfully call eth_subscribe Logs 
Should return unsupported method when WS_NEW_HEADS_ENABLED is set to false ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe newHeads Configuration given WS_NEW_HEADS_ENABLED=false are set Should return unsupported method when WS_NEW_HEADS_ENABLED is set to false
Subscribe and Unsubscribe ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection Subscribe and Unsubscribe
Subscribe and receive log event and unsubscribe ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection Subscribe and receive log event and unsubscribe
Subscribe to multiple contracts on same subscription Should fail with INVALID_PARAMETER due to feature flag disabled ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection given WS_MULTIPLE_ADDRESSES_ENABLED=false are set Subscribe to multiple contracts on same subscription Should fail with INVALID_PARAMETER due to feature flag disabled
Subscribe to multiple contracts on same subscription ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection given WS_MULTIPLE_ADDRESSES_ENABLED=true are set Subscribe to multiple contracts on same subscription
Subscribes for contract logs for a single topic ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Subscribes to log events Subscribes for contract logs for a single topic
Subscribes for contract logs for address and multiple topics ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Subscribes to log events Subscribes for contract logs for address and multiple topics
Subscribes for contract logs for multiple topics ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Subscribes to log events Subscribes for contract logs for multiple topics
Subscribes for debug ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Subscribes to log events Subscribes for debug
Subscribing for contract logs for a specific contract address and a wrong topic. ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Subscribes to log events Subscribing for contract logs for a specific contract address and a wrong topic.
When JSON is invalid, expect INVALID_REQUEST Error message ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection When JSON is invalid, expect INVALID_REQUEST Error message
establishes connection ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection establishes connection
should subscribe to newHeads, include transactions true, and receive a valid JSON RPC response ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe newHeads Subscriptions for newHeads should subscribe to newHeads, include transactions true, and receive a valid JSON RPC response
should subscribe to newHeads, with "include transactions false", and receive a valid JSON RPC response ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe newHeads Subscriptions for newHeads should subscribe to newHeads, with "include transactions false", and receive a valid JSON RPC response
should subscribe to newHeads, without the "include transactions", and receive a valid JSON RPC response ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe newHeads Subscriptions for newHeads should subscribe to newHeads, without the "include transactions", and receive a valid JSON RPC response
when the client sends a message ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection TTL Connection TTL is reset when the client sends a message
when the server sends a message ‑ RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Connection TTL Connection TTL is reset when the server sends a message