-
Notifications
You must be signed in to change notification settings - Fork 118
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: Fix output report error with dump shards #1680
fix: Fix output report error with dump shards #1680
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
a70efd2
to
67f0a5a
Compare
67f0a5a
to
b4b8ee5
Compare
@flank-it |
Integration tests succeed for all OSes ✅ |
Timestamp: 2021-03-11 11:02:42 |
@@ -111,7 +111,7 @@ fun File.hasAllFiles(fileList: List<String>): Boolean { | |||
|
|||
fun String.fileExists(): Boolean = Paths.get(this).exists() | |||
|
|||
fun osPathSeperator() = (if (isWindows) "\\" else "/") | |||
fun osPathSeparator() = (if (isWindows) "\\" else "/") |
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.
Am i blind what actually changed on this line?
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.
There was a typo sepErator
. I've changed it to sepArator
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.
is it different from File.pathSeparator
?
b4b8ee5
to
1473b3a
Compare
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.
- Code looks good
- Tested and works
👍
When a user tries to dump shards AND the output report is enabled an error is thrown. This is due to the fact flank is trying to create
outputReport.json
file inside result directory which does not exist for dump shard run, to reproduce run on the current master:output-report: json
to the config file--dump-shards
FileNotFound
errorTest Plan
output-report: json
to the config file--dump-shards
Checklist