hashgraph / hedera-mirror-node

Hedera Mirror Node archives data from consensus nodes and serves it via an API
Apache License 2.0
128 stars 108 forks source link

Rest API integration tests fail in main #9353

Closed xin-hedera closed 2 weeks ago

xin-hedera commented 2 weeks ago

Description

https://github.com/hashgraph/hedera-mirror-node/actions/runs/10854555255/job/30125245463

FAIL __tests__/integration/contracts.spec.test.js (14.46 s)
  ● API specification tests - contracts › /results › block-hash.json with bindTimestampRange=false › /api/v1/contracts/results?block.hash=f39e30719c53716e35d25963e204b7ab840315c8b3f3a4df1ab1b3ad9d5bc7b9

    expect(received).toEqual(expected) // deep equality

    Expected: 404
    Received: 500

      346 |               const response = await request(server).get(tt.url);
      347 |
    > 348 |               expect(response.status).toEqual(tt.responseStatus);
          |                                       ^
      349 |               const contentType = response.get('Content-Type');
      350 |               expect(contentType).not.toBeNull();
      351 |

      at Object.toEqual (__tests__/integration/contracts.spec.test.js:348:39)

Steps to reproduce

check the link to the CI run

Additional context

No response

Hedera network

other

Version

v0.104.0-SNAPSHOT

Operating system

None