Repository navigation
Fix running Hardware tests - #531
Merged
Merged
Conversation
dfriederich
force-pushed
the
fix_hw_tests
branch
from
September 11, 2024 21:54
3570c1c to
3e760d2
Compare
koral--
approved these changes
Sep 12, 2024
Member
|
Could you sync your branch? I've just fixed the CI config, so PR check should work. |
dfriederich
force-pushed
the
fix_hw_tests
branch
from
September 12, 2024 16:48
3e760d2 to
6729c06
Compare
Author
|
I did update, the tests run but the HW tests do fail on the validation build. |
Member
|
It seems despite that there are no connected devices in the CI environment the before hook in the synct.ts test still runs and fails randomly due to timeout. Could you sync once more? |
When running HW tests with RUN_DEVICE_TESTS=true yarn test the HW tests all failed with: Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both. Basically the test framework no longer allows to return a Promise and to end with a callback. As the callback was only used with the return promise anyhow, I simplified the code by dropping the done callback, just using the promise. Signed-off-by: Daniel Friederich <[email protected]>
dfriederich
force-pushed
the
fix_hw_tests
branch
from
September 13, 2024 16:02
6729c06 to
4f210c5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When running HW tests with
RUN_DEVICE_TESTS=true yarn test
the HW tests all failed with:
Error: Resolution method is overspecified. Specify a callback or return a Promise; not both.
Basically the test framework no longer allows to return a Promise and to end with a callback. As the callback was only used with the return promise anyhow, I simplified the code by dropping the done callback, just using the promise.