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

Expose max_frame_size setting #144

Open
dimaqq opened this issue Dec 6, 2024 · 0 comments
Open

Expose max_frame_size setting #144

dimaqq opened this issue Dec 6, 2024 · 0 comments

Comments

@dimaqq
Copy link
Contributor

dimaqq commented Dec 6, 2024

juju/python-libjuju#1237

Ben mentioned earlier

It looks like python-libjuju itself allows you to easily override the default of 4MB. However, pytest-operator doesn't expose this setting. It looks like your best bet for a workaround would be to monkey-patch plugin.OpsTest._connect_to_model so you can change the model.connect call.

WDYT about either an environment variable or pytest option with the same default as https://github.com/juju/python-libjuju/blob/773cda507de34d3ccbda171e0b53589fe083c34d/juju/client/connection.py#L111 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant