-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: add solo smoke test to test flow #905
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
Unit Test Results - Linux 1 files 53 suites 4s ⏱️ Results for commit 646d3a0. ♻️ This comment has been updated with latest results. |
Unit Test Results - Windows 1 files 53 suites 12s ⏱️ Results for commit 646d3a0. ♻️ This comment has been updated with latest results. |
Signed-off-by: Jeffrey Tang <[email protected]>
…solo-smoke-test Signed-off-by: Jeffrey Tang <[email protected]> # Conflicts: # src/commands/account.ts # src/commands/flags.ts
Signed-off-by: Jeffrey Tang <[email protected]>
E2E Test Report 13 files 105 suites 58m 49s ⏱️ Results for commit 646d3a0. ♻️ This comment has been updated with latest results. |
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #905 +/- ##
==========================================
- Coverage 82.74% 82.71% -0.04%
==========================================
Files 71 71
Lines 19139 19203 +64
Branches 1463 1464 +1
==========================================
+ Hits 15837 15884 +47
- Misses 3210 3224 +14
- Partials 92 95 +3
|
Signed-off-by: Jeffrey Tang <[email protected]>
…solo-smoke-test Signed-off-by: Jeffrey Tang <[email protected]> # Conflicts: # src/commands/account.ts # src/commands/flags.ts
Signed-off-by: Jeffrey Tang <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
error handling needs to be fixed in the script. You have a test case error, but it ate the error and showed a success: https://github.com/hashgraph/solo/actions/runs/12238568891/job/34136963069?pr=905#step:9:518
This is the issue I mentioned before that with linux github runner, also there is a background thread kept re-enable port-forward. from log you can see results of
|
This is the same issue repeated on macOS line 285 we can see all port forwards are still active |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review applies to:
.github/workflows/flow-task-test.yaml
My point, is that the workflow should be showing a failure, but it is showing a success. |
What shown in the log is first try of test is failed due to port-forward is stopped, The workflow is passed because test success with the retry less than 5 times. |
Signed-off-by: Jeffrey Tang <[email protected]>
After some experiment from last night, I found if port-forward were called within Task, but if port-forward were called outside Task, they would be consistently working. I did not have an explanation for this.
|
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more Footnotes
|
Description
This pull request changes the following:
generateEcdsaKey
so user can usesolo account create
to create account with auto generated ECDSA key, no need to provide a EDCSA key string to solocreateAmount
so solo can continuously generating many account, so we can use the feature to generate background transactions when testing relay node. Cannot use original standalonesolo account create
since it is too slow can only finish one account in about 9~10 secondssolo account get
commandRelated Issues