Skip to content

Add timeout argument for gRPC server - #6930

Merged
c-bata merged 1 commit into
optuna:masterfrom
not522:fix-grpc-test
Oct 28, 2026
Merged

c-bata merged 1 commit into
optuna:masterfrom
not522:fix-grpc-test

Conversation

@not522

@not522 not522 commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Motivation

Recently, CI on Windows has been fragile. This is because the SQLite lock wait was too long and timed out.
https://github.com/optuna/optuna/actions/runs/39287594057/job/118179121626 https://github.com/optuna/optuna/actions/runs/39635250320/job/119343849770

Description of the changes

This PR adds a timeout argument for the gRPC server in testing/storages.py.

Checklist

  • I used an LLM while working on this PR.

@not522 not522 added the CI Continuous integration. label Oct 22, 2026
@not522 not522 assigned y0z and yen-0 Oct 23, 2026
@not522

not522 commented Oct 23, 2026

Copy link
Copy Markdown
Member Author

@y0z @yen-0 Could you review this PR?

@y0z y0z left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@y0z y0z removed their assignment Oct 28, 2026

@yen-0 yen-0 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

@c-bata c-bata added this to the v5.1.0 milestone Oct 28, 2026
@c-bata
c-bata merged commit c353e29 into optuna:master Oct 28, 2026
12 checks passed
@not522
not522 deleted the fix-grpc-test branch October 28, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous integration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants