-
Notifications
You must be signed in to change notification settings - Fork 110
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
Refactor everserver 2 #9777
base: main
Are you sure you want to change the base?
Refactor everserver 2 #9777
Conversation
3058d26
to
249e947
Compare
249e947
to
d0b2ca4
Compare
CodSpeed Performance ReportMerging #9777 will improve performances by 12.73%Comparing Summary
Benchmarks breakdown
|
1e6e488
to
071bbbc
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.
Looks good, some minor comments and questions
def extract_errors_from_file(path: str): | ||
with open(path, encoding="utf-8") as f: | ||
content = f.read() | ||
return re.findall(r"(Error \w+.*)", content) | ||
|
||
|
||
def wait_for_server_simple( |
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.
Would it be possible to join this with wait_for_server
?
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.
This function is simpler and does not have to handle the strange edge cases in wait_for_server
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.
But some of those edge cases cant really happen anymore? Like this from line 155:
# For very small cases the optimization will finish and bring down the
# server before we can verify that it is running.
Issue
Resolves #9290
Approach
Short description of the approach
(Screenshot of new behavior in GUI if applicable)
git rebase -i main --exec 'pytest tests/ert/unit_tests -n logical -m "not integration_test"'
)When applicable