Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Some SDKv2 tests fail randomly #586

Open
aaitor opened this issue Oct 3, 2023 · 0 comments
Open

Some SDKv2 tests fail randomly #586

aaitor opened this issue Oct 3, 2023 · 0 comments
Labels
bug Something isn't working tests

Comments

@aaitor
Copy link
Member

aaitor commented Oct 3, 2023

Describe the bug

Some tests fails from time to time with timeout issues:

Claim aborted agreements End-to-End
       As a user I want to buy a NFT with a timeout
         I can not get the NFT after timeout so I claim back my funds:
     Error: Timeout of 300000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/sdk-js/sdk-js/integration/nevermined/ClaimPaymentAbortedAgreement.test.ts)
      at createTimeoutError (/home/runner/work/sdk-js/sdk-js/node_modules/mocha/lib/errors.js:498:15)
      at Test.Runnable._timeoutError (/home/runner/work/sdk-js/sdk-js/node_modules/mocha/lib/runnable.js:431:10)
      at Timeout.<anonymous> (/home/runner/work/sdk-js/sdk-js/node_modules/mocha/lib/runnable.js:246:24)
      at listOnTimeout (node:internal/timers:569:17)
      at processTimers (node:internal/timers:512:7)

Running the time different times make tests to fail by a timeout in a different test.

To Reproduce

Steps to reproduce the behavior:

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

@aaitor aaitor added bug Something isn't working tests labels Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tests
Projects
None yet
Development

No branches or pull requests

1 participant