-
Notifications
You must be signed in to change notification settings - Fork 86
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
Fix system tests 2 #2352
base: master
Are you sure you want to change the base?
Fix system tests 2 #2352
Conversation
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
…e directory exists due to race condition Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
…sing modifyVersion 2.0 Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2352 +/- ##
=======================================
Coverage 91.15% 91.15%
=======================================
Files 636 636
Lines 18029 18018 -11
Branches 3767 3764 -3
=======================================
- Hits 16434 16424 -10
+ Misses 1594 1593 -1
Partials 1 1 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
… tests. Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
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.
LGTM, thanks @awharn for these fixes and removing as many references to fs-extra
as possible! Left one question
@@ -61,6 +61,7 @@ export function runCliScript(scriptPath: string, testEnvironment: ITestEnvironme | |||
env: childEnv, | |||
encoding: "buffer" | |||
}); | |||
// eslint-disable-next-line @typescript-eslint/no-magic-numbers |
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.
Oops, thanks for adding this 😋
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.
No problem! :)
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
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.
LGTM, thanks Andrew for fixing up the system tests and for the optimizations/bug fixes! 😁
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
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.
Good changelog, thanks @awharn!
Quality Gate passedIssues Measures |
What It Does
IO.createDirSync
logic to do a recursive create, and not throw an error if a race condition creates a directory after theexistsSync
check, but before themkdir
call.modifyVersion
wasn't specified, even though it was available.How to Test
Review Checklist
I certify that I have:
Additional Comments