-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add Golden Copy Tests #1674
base: main
Are you sure you want to change the base?
Add Golden Copy Tests #1674
Conversation
Co-Authored-By: Sylvie <38440028+somesylvie@users.noreply.github.com> Co-Authored-By: Samuel Aquino <saquino@flexion.us>
Co-Authored-By: Samuel Aquino <saquino@flexion.us> Co-Authored-By: Bella L. Quintero <96704946+pluckyswan@users.noreply.github.com>
Co-Authored-By: Samuel Aquino <saquino@flexion.us> Co-Authored-By: Bella L. Quintero <96704946+pluckyswan@users.noreply.github.com>
Co-Authored-By: Samuel Aquino <saquino@flexion.us> Co-Authored-By: Bella L. Quintero <96704946+pluckyswan@users.noreply.github.com>
Co-Authored-By: Samuel Aquino <saquino@flexion.us> Co-Authored-By: Bella L. Quintero <96704946+pluckyswan@users.noreply.github.com>
Co-Authored-By: Samuel Aquino <saquino@flexion.us> Co-Authored-By: Bella L. Quintero <96704946+pluckyswan@users.noreply.github.com>
Co-authored-by: saquino0827 <saquino@flexion.us>
Co-authored-by: saquino0827 <saquino@flexion.us>
Co-authored-by: saquino0827 <saquino@flexion.us>
Co-authored-by: saquino0827 <saquino@flexion.us>
Co-authored-by: saquino0827 <saquino@flexion.us>
Co-authored-by: saquino0827 <saquino@flexion.us>
Co-authored-by: saquino0827 <saquino@flexion.us>
Co-authored-by: saquino0827 <saquino@flexion.us>
Co-authored-by: saquino0827 <saquino@flexion.us> Co-authored-by: Sylvie <sschuresko@flexion.us> Co-authored-by: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
Co-authored-by: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
…structure Co-authored-by: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
Co-authored-by: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
Co-authored-by: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
Co-authored-by: jcrichlake <145698165+jcrichlake@users.noreply.github.com> Co-authored-by: James Herr <jherr@flexion.us>
Co-authored-by: James Herr <jherr@flexion.us> Co-authored-by: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
Co-authored-by: James Herr <jherr@flexion.us>
Co-authored-by: James Herr <jherr@flexion.us>
Co-authored-by: James Herr <jherr@flexion.us>
Co-authored-by: James Herr <jherr@flexion.us> Co-authored-by: Sylvie <sschuresko@flexion.us>
Co-authored-by: James Herr <jherr@flexion.us>
Co-authored-by: James Herr <jherr@flexion.us>
Co-authored-by: James Herr <jherr@flexion.us>
Co-authored-by: James Herr <jherr@flexion.us>
Co-authored-by: James Herr <jherr@flexion.us>
Co-authored-by: James Herr <jherr@flexion.us>
Co-authored-by: James Herr <jherr@flexion.us>
Co-authored-by: James Herr <jherr@flexion.us>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
// when its pulled down and modify destinationName to be test folder specific | ||
// possibly use a different receiver and filter on that | ||
|
||
String testTypeAndSourceName = "Automated/" + sourceName; |
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.
Consider refactoring the blob naming and organizing logic into a separate method or class to improve modularity and testability. This change would help isolate the blob management logic, making the code cleaner and easier to maintain. [important]
for (filePair in matchedFiles) { | ||
def actualFile = filePair.getKey() | ||
def expectedFile = filePair.getValue() | ||
if (!actualFile.equals(expectedFile)) { |
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.
Implement additional logging for each file comparison in the 'Compare files' test to provide more detailed feedback on which files are being compared and the result of each comparison. This enhancement would be beneficial for debugging and understanding test failures. [medium]
if (files_path.contains("GoldenCopy")) { | ||
pathPrefix += datePrefix + "GoldenCopy/"; | ||
} | ||
|
||
ListBlobsOptions options = new ListBlobsOptions().setPrefix(pathPrefix); |
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.
Add error handling for the Azure blob fetching process to manage exceptions and provide meaningful error messages if the fetching fails. This would improve the robustness of the file fetching mechanism. [important]
PR Code Suggestions ✨No code suggestions found for the PR. |
Co-authored-by: James Herr <jherr@flexion.us> Co-authored-by: basiliskus <541149+basiliskus@users.noreply.github.com>
Co-authored-by: James Herr <jherr@flexion.us> Co-authored-by: basiliskus <541149+basiliskus@users.noreply.github.com>
Co-authored-by: James Herr <jherr@flexion.us> Co-authored-by: basiliskus <541149+basiliskus@users.noreply.github.com>
Co-authored-by: James Herr <jherr@flexion.us> Co-authored-by: basiliskus <541149+basiliskus@users.noreply.github.com>
Co-authored-by: basiliskus <541149+basiliskus@users.noreply.github.com>
Co-authored-by: basiliskus <541149+basiliskus@users.noreply.github.com>
Quality Gate passedIssues Measures |
Description
Under construction...
Issue
#1600
Checklist
Note: You may remove items that are not applicable