Skip to content
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 e2e test for loading journal storage in standalone app #782

Merged

Conversation

keisuke-umezawa
Copy link
Member

@keisuke-umezawa keisuke-umezawa commented Jan 27, 2024

Contributor License Agreement

This repository (optuna-dashboard) and Goptuna share common code.
This pull request may therefore be ported to Goptuna.
Make sure that you understand the consequences concerning licenses and check the box below if you accept the term before creating this pull request.

  • I agree this patch may be ported to Goptuna by other Goptuna contributors.

Reference Issues/PRs

To follow-up on #732

What does this implement/fix? Explain your changes.

Add e2e test for loading journal storage in standalone app

Copy link

codecov bot commented Jan 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.61%. Comparing base (8c48e7e) to head (94815c5).
Report is 126 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #782      +/-   ##
==========================================
+ Coverage   69.13%   69.61%   +0.47%     
==========================================
  Files          35       35              
  Lines        2378     2376       -2     
==========================================
+ Hits         1644     1654      +10     
+ Misses        734      722      -12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@c-bata
Copy link
Member

c-bata commented Jan 29, 2024

@gen740 @nabenabe0928 Could you review this PR?

Copy link
Member

@gen740 gen740 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your PR!
I have a question regarding test_load_rdb_storage and test_load_journal_storage. They share the same code and test the same functionality. How about using a pytest fixture?

@keisuke-umezawa keisuke-umezawa force-pushed the feature/add-e2e-test-journal-storage branch from 2167f77 to da0cca1 Compare February 5, 2024 14:11
@keisuke-umezawa keisuke-umezawa force-pushed the feature/add-e2e-test-journal-storage branch from da0cca1 to f0751b8 Compare February 6, 2024 12:35
@keisuke-umezawa
Copy link
Member Author

@gen740
I updated it. Could you check it again?

Copy link
Collaborator

@nabenabe0928 nabenabe0928 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR and sorry for the late response, I left minor suggestions!

e2e_tests/test_standalone/test_study_list.py Outdated Show resolved Hide resolved
e2e_tests/test_standalone/test_study_list.py Outdated Show resolved Hide resolved
@keisuke-umezawa
Copy link
Member Author

@nabenabe0928 @gen740 I fixed it. Could you review it again?

Copy link
Member

@gen740 gen740 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late reply. LGTM!

@gen740 gen740 removed their assignment Mar 18, 2024
Copy link
Collaborator

@nabenabe0928 nabenabe0928 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the changes, LGTM!

@nabenabe0928 nabenabe0928 removed their assignment Mar 22, 2024
@nabenabe0928 nabenabe0928 merged commit a5cbad8 into optuna:main Mar 22, 2024
15 checks passed
@keisuke-umezawa keisuke-umezawa deleted the feature/add-e2e-test-journal-storage branch April 1, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants