chore: add flag to enable/disable deprecated APIs #795
on-pull-request.yaml
on: pull_request
E2E Tests
/
Build Docker image
1m 51s
Run Unit Tests
/
test_coverage
2m 12s
License Check
/
license-check
30s
Lint
/
golangci-lint
1m 27s
Go Module Check
/
ensure go mod is tidy
10s
Test Docker Publish
/
Build and Push Docker Image
1m 49s
Matrix: Run Unit Tests / unit_tests
E2E Tests
/
Run Tests
8m 17s
Annotations
5 errors and 11 warnings
WS /subscriptions/beat › should be able to subscribe:
test/thorest-api/subscriptions/ws-beat.test.js#L30
assert(received)
Expected value to be equal to:
true
Received:
undefined
Message:
Beat not found
Difference:
Comparing two different types of values. Expected boolean but received undefined.
at Object.<anonymous> (test/thorest-api/subscriptions/ws-beat.test.js:30:15)
|
WS /subscriptions/beat › should be able to retrieve blocks after the current best block when providing no position parameter:
test/thorest-api/subscriptions/ws-beat.test.js#L61
assert(received)
Expected value to be equal to:
true
Received:
false
Message:
Best block not found
at Object.<anonymous> (test/thorest-api/subscriptions/ws-beat.test.js:61:19)
|
WS /subscriptions/beat › should be able to retrieve 5 blocks in order:
test/setupAfterEnv.js#L7
thrown: "Exceeded timeout of 60000 ms for a test.
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."
at Function.test [as e2eTest] (test/setupAfterEnv.js:7:9)
at e2eTest (test/thorest-api/subscriptions/ws-beat.test.js:71:8)
at Object.describe (test/thorest-api/subscriptions/ws-beat.test.js:11:1)
|
WS /subscriptions/beat › should be able to get block A via api call and compare it with subscription result to check they are the same:
test/thorest-api/subscriptions/ws-beat.test.js#L126
assert(received)
Expected value to be equal to:
true
Received:
undefined
Message:
Block not found
Difference:
Comparing two different types of values. Expected boolean but received undefined.
at Object.<anonymous> (test/thorest-api/subscriptions/ws-beat.test.js:126:19)
|
E2E Tests / Run Tests
Process completed with exit code 1.
|
License Check / license-check
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
|
RETRY 1: WS /subscriptions/beat › should be able to subscribe:
test/thorest-api/subscriptions/ws-beat.test.js#L30
assert(received)
Expected value to be equal to:
true
Received:
undefined
Message:
Beat not found
Difference:
Comparing two different types of values. Expected boolean but received undefined.
at Object.<anonymous> (test/thorest-api/subscriptions/ws-beat.test.js:30:15)
|
RETRY 2: WS /subscriptions/beat › should be able to subscribe:
test/thorest-api/subscriptions/ws-beat.test.js#L30
assert(received)
Expected value to be equal to:
true
Received:
undefined
Message:
Beat not found
Difference:
Comparing two different types of values. Expected boolean but received undefined.
at Object.<anonymous> (test/thorest-api/subscriptions/ws-beat.test.js:30:15)
|
RETRY 3: WS /subscriptions/beat › should be able to subscribe:
test/thorest-api/subscriptions/ws-beat.test.js#L30
assert(received)
Expected value to be equal to:
true
Received:
undefined
Message:
Beat not found
Difference:
Comparing two different types of values. Expected boolean but received undefined.
at Object.<anonymous> (test/thorest-api/subscriptions/ws-beat.test.js:30:15)
|
RETRY 1: WS /subscriptions/beat › should be able to retrieve blocks after the current best block when providing no position parameter:
test/thorest-api/subscriptions/ws-beat.test.js#L61
assert(received)
Expected value to be equal to:
true
Received:
false
Message:
Best block not found
at Object.<anonymous> (test/thorest-api/subscriptions/ws-beat.test.js:61:19)
|
RETRY 2: WS /subscriptions/beat › should be able to retrieve blocks after the current best block when providing no position parameter:
test/thorest-api/subscriptions/ws-beat.test.js#L61
assert(received)
Expected value to be equal to:
true
Received:
false
Message:
Best block not found
at Object.<anonymous> (test/thorest-api/subscriptions/ws-beat.test.js:61:19)
|
RETRY 3: WS /subscriptions/beat › should be able to retrieve blocks after the current best block when providing no position parameter:
test/thorest-api/subscriptions/ws-beat.test.js#L61
assert(received)
Expected value to be equal to:
true
Received:
false
Message:
Best block not found
at Object.<anonymous> (test/thorest-api/subscriptions/ws-beat.test.js:61:19)
|
RETRY 1: WS /subscriptions/beat › should be able to retrieve 5 blocks in order:
test/setupAfterEnv.js#L7
thrown: "Exceeded timeout of 60000 ms for a test.
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."
at Function.test [as e2eTest] (test/setupAfterEnv.js:7:9)
at e2eTest (test/thorest-api/subscriptions/ws-beat.test.js:71:8)
at Object.describe (test/thorest-api/subscriptions/ws-beat.test.js:11:1)
|
RETRY 2: WS /subscriptions/beat › should be able to retrieve 5 blocks in order:
test/setupAfterEnv.js#L7
thrown: "Exceeded timeout of 60000 ms for a test.
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."
at Function.test [as e2eTest] (test/setupAfterEnv.js:7:9)
at e2eTest (test/thorest-api/subscriptions/ws-beat.test.js:71:8)
at Object.describe (test/thorest-api/subscriptions/ws-beat.test.js:11:1)
|
RETRY 3: WS /subscriptions/beat › should be able to retrieve 5 blocks in order:
test/setupAfterEnv.js#L7
thrown: "Exceeded timeout of 60000 ms for a test.
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."
at Function.test [as e2eTest] (test/setupAfterEnv.js:7:9)
at e2eTest (test/thorest-api/subscriptions/ws-beat.test.js:71:8)
at Object.describe (test/thorest-api/subscriptions/ws-beat.test.js:11:1)
|
RETRY 1: WS /subscriptions/beat › should be able to get block A via api call and compare it with subscription result to check they are the same:
test/thorest-api/subscriptions/ws-beat.test.js#L126
assert(received)
Expected value to be equal to:
true
Received:
undefined
Message:
Block not found
Difference:
Comparing two different types of values. Expected boolean but received undefined.
at Object.<anonymous> (test/thorest-api/subscriptions/ws-beat.test.js:126:19)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-test-results-3a2c34049618d55728e4b580e2267f29b78f657e
|
5.79 KB |
|