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

[xchain-cosmos] Timeout by running tests #49

Closed
veado opened this issue Oct 28, 2020 · 0 comments
Closed

[xchain-cosmos] Timeout by running tests #49

veado opened this issue Oct 28, 2020 · 0 comments
Assignees

Comments

@veado
Copy link
Collaborator

veado commented Oct 28, 2020

yarn test                                                                   
yarn run v1.22.5
$ jest
 PASS  __tests__/util.test.ts
 PASS  __tests__/client.test.ts (6.685 s)
 FAIL  __tests__/sdk-client.test.ts (63.705 s)
  ● SDK Client Test › getBalance

    : Timeout - Async callback was not invoked within the 30000 ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 30000 ms timeout specified by jest.setTimeout.Error:

      94 |   })
      95 | 
    > 96 |   it('getBalance', async () => {
         |   ^
      97 |     let balances = await cosmosMainnetClient.getBalance(cosmos_address)
      98 |     expect(balances).toEqual([])
      99 | 

      at new Spec (../../node_modules/jest-cli/node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
      at Suite.<anonymous> (__tests__/sdk-client.test.ts:96:3)

  ● SDK Client Test › transfer

    : Timeout - Async callback was not invoked within the 30000 ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 30000 ms timeout specified by jest.setTimeout.Error:

      162 |   })
      163 | 
    > 164 |   it('transfer', async () => {
          |   ^
      165 |     const expected_txsPost_result: BroadcastTxCommitResult = {
      166 |       check_tx: {},
      167 |       deliver_tx: {},

      at new Spec (../../node_modules/jest-cli/node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
      at Suite.<anonymous> (__tests__/sdk-client.test.ts:164:3)

A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --runInBand --detectOpenHandles to find leaks.
Test Suites: 1 failed, 2 passed, 3 total
Tests:       2 failed, 27 passed, 29 total
Snapshots:   0 total
Time:        64.563 s, estimated 69 s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@veado veado changed the title [xchain-cosmos] Timeout for running tests [xchain-cosmos] Timeout by running tests Oct 28, 2020
@icafa icafa closed this as completed Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants