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

[release] 20240807 #131

Merged
merged 1 commit into from
Aug 7, 2024
Merged

[release] 20240807 #131

merged 1 commit into from
Aug 7, 2024

Conversation

stwiname
Copy link
Contributor

@stwiname stwiname commented Aug 7, 2024

No description provided.

Copy link
Contributor

github-actions bot commented Aug 7, 2024

Coverage report

Caution

Test run failed

St.
Category Percentage Covered / Total
🔴 Statements 23.93% 729/3047
🔴 Branches 51.06% 72/141
🔴 Functions 30.95% 39/126
🔴 Lines 23.93% 729/3047

Test suite run failed

Failed tests: 3/18. Failed suites: 2/4.
  ● ApiService › waits on pending block to fetch hash

    Unable to get block hash for round 41370881

      250 |       }
      251 |     }
    > 252 |     throw new Error(`Unable to get block hash for round ${round}`);
          |           ^
      253 |   }
      254 | }
      255 |

      at AlgorandApi.getBlockHash (packages/node/src/algorand/api.algorand.ts:252:11)
      at packages/node/src/algorand/api.algorand.ts:205:22
          at async Promise.all (index 0)
      at AlgorandApi.fetchBlocks (packages/node/src/algorand/api.algorand.ts:203:29)
      at fetchLatestBlock (packages/node/src/indexer/api.service.spec.ts:83:8)

  ● ApiService › waits on pending block to fetch hash

    Unable to get block hash for round 41370881

      250 |       }
      251 |     }
    > 252 |     throw new Error(`Unable to get block hash for round ${round}`);
          |           ^
      253 |   }
      254 | }
      255 |

      at AlgorandApi.getBlockHash (packages/node/src/algorand/api.algorand.ts:252:11)
      at packages/node/src/algorand/api.algorand.ts:205:22
          at async Promise.all (index 0)
      at AlgorandApi.fetchBlocks (packages/node/src/algorand/api.algorand.ts:203:29)
      at fetchLatestBlock (packages/node/src/indexer/api.service.spec.ts:83:8)
      at Object.<anonymous> (packages/node/src/indexer/api.service.spec.ts:87:19)


  ● dictionary v1 › successfully validates metatada

    thrown: "Exceeded timeout of 5000 ms for a hook.
    Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

      60 | describe('dictionary v1', () => {
      61 |   let dictionary: AlgorandDictionaryV1;
    > 62 |   beforeEach(async () => {
         |   ^
      63 |     const testDictionaryService = new TestDictionaryService(
      64 |       project.network.chainId,
      65 |       nodeConfig,

      at packages/node/src/indexer/dictionary/v1/algorandDictionaryV1.spec.ts:62:3
      at Object.<anonymous> (packages/node/src/indexer/dictionary/v1/algorandDictionaryV1.spec.ts:60:1)

  ● dictionary v1 › build correct dictionary entries and remove undefined fields in filter

    thrown: "Exceeded timeout of 5000 ms for a hook.
    Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

      60 | describe('dictionary v1', () => {
      61 |   let dictionary: AlgorandDictionaryV1;
    > 62 |   beforeEach(async () => {
         |   ^
      63 |     const testDictionaryService = new TestDictionaryService(
      64 |       project.network.chainId,
      65 |       nodeConfig,

      at packages/node/src/indexer/dictionary/v1/algorandDictionaryV1.spec.ts:62:3
      at Object.<anonymous> (packages/node/src/indexer/dictionary/v1/algorandDictionaryV1.spec.ts:60:1)

Report generated by 🧪jest coverage report action from 280ba3a

@stwiname stwiname merged commit 8636d5e into main Aug 7, 2024
2 of 3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants