Skip to content

chore(multi-threaded-examples): Added keyring examples #693

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

Closed
wants to merge 18 commits into from

Conversation

RitvikKapila
Copy link
Contributor

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Check any applicable:

  • Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.

@RitvikKapila RitvikKapila requested a review from a team as a code owner June 26, 2024 22:04
@RitvikKapila RitvikKapila changed the title chore(multi-threaded examples: Added keyring examples chore(multi-threaded-examples): Added keyring examples Jun 26, 2024
pytestmark = [pytest.mark.examples]


def test_encrypt_and_decrypt_with_keyring(n_threads=10):
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's consider parametrizing this across n_threads and test_duration. As-is, testing this with 10 threads once is a very lightweight test.

I'd suggest

n_threads = [4, 16, 64]
duration (seconds) = [2, 10, 60]

@RitvikKapila RitvikKapila changed the base branch from mpl-reviewed to lucmcdon/mpl-v2 June 27, 2024 21:27
@RitvikKapila RitvikKapila changed the base branch from lucmcdon/mpl-v2 to mpl-reviewed June 27, 2024 21:28
@RitvikKapila RitvikKapila changed the base branch from mpl-reviewed to lucmcdon/mpl-v2 June 27, 2024 21: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.

2 participants