Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Tests failing silently #1575

Open
0xJem opened this issue Jan 25, 2024 · 3 comments
Open

Tests failing silently #1575

0xJem opened this issue Jan 25, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@0xJem
Copy link

0xJem commented Jan 25, 2024

Which packages are impacted by your issue?

@graphprotocol/graph-cli

Describe the issue

Under macOS Sonoma, tests can fail silently (no error is printed). This seems to be an issue with matchstick. See:

Reproduction

https://github.com/OlympusDAO/olympus-protocol-metrics-subgraph/blob/bea228c830478218ca0c291ca941fb5a9d250111/subgraphs/ethereum/tests/OhmCalculations.test.ts#L250-L266

Steps to Reproduce the Bug or Issue

  1. Run yarn subgraph test ethereum
  2. The "closed auction/after bond expiry/all burned" test case in OhmCalculations should fail. No error is printed, even the name of the test case doesn't show up. (Search for the previous test case, "closed auction/after bond expiry", and it will show up.)

Expected behavior

The "closed auction/after bond expiry/all burned" test case should have failed and thrown an error.

Screenshots or Videos

No response

Platform

  • OS: macOS Sonoma 14.3
  • NodeJS: v20.10.0
  • @graphprotocol/graph-cli@0.67.2

Subgraph Manifest

No response

Subgraph GraphQL Schema

No response

Additional context

No response

@0xJem 0xJem added the bug Something isn't working label Jan 25, 2024
@0xJem
Copy link
Author

0xJem commented Aug 19, 2024

Is it really not a priority to fix this??

@saihaj
Copy link
Member

saihaj commented Aug 20, 2024

Is it really not a priority to fix this??

Not at the moment. However, if you'd like to contribute a patch, we'd be more than happy to accept it!

@hudsonhrh
Copy link

Facing the same issue and just started using matchstick. Very frustrating. Makes me not want to use it

@alex-pakalniskis alex-pakalniskis moved this to Bug in Tooling Oct 15, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
Status: Bug
Development

No branches or pull requests

3 participants