Add perf tests for eventgrid#16949
Merged
rakshith91 merged 4 commits intoAzure:masterfrom Feb 26, 2021
Merged
Conversation
rakshith91
commented
Feb 25, 2021
Contributor
Author
|
/azp run python - eventgrid - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
annatisch
approved these changes
Feb 26, 2021
| - `--duration=10` Number of seconds to run as many operations (the "run" function) as possible. Default is 10. | ||
| - `--iterations=1` Number of test iterations to run. Default is 1. | ||
| - `--parallel=1` Number of tests to run in parallel. Default is 1. | ||
| - `--no-client-share` Whether each parallel test instance should share a single client, or use their own. Default is False (sharing). |
Member
There was a problem hiding this comment.
You can remove this option unless you want to implement sharing a single client between test instances.
Probably not needed for now.
| self.event_list.append(EventGridEvent( | ||
| event_type="Contoso.Items.ItemReceived", | ||
| data={ | ||
| "services": random.sample(services, k=random.randint(1, 4)) |
Member
There was a problem hiding this comment.
This will test a different data set every time - we should probably keep each test consistent with throughput.
If you expect there to be variation in consuming each of these values that you want to compare - you could make it a cmd flag:
parser.add_argument('-e', '--event-service', nargs='?', type=str, help='The event service type. Default is "EventGrib"', default='EventGrid')But otherwise I think we can just stick to a single value.
Contributor
Author
There was a problem hiding this comment.
sticking to single value should be good
iscai-msft
added a commit
to iscai-msft/azure-sdk-for-python
that referenced
this pull request
Mar 1, 2021
…into correct_healthcare * 'master' of https://github.com/Azure/azure-sdk-for-python: (30 commits) [EventGrid] Improve docs (Azure#16986) Fixed delete_blob method signature (Azure#16983) Fixed Content-MD5 serialization and typing (Azure#16987) [eventgrid] Black formatting and tests suite (Azure#16989) Appconfig perf test (Azure#16809) adds support for milliseconds on datetime objects (Azure#16847) [ServiceBus] Improve AMQP Error handling (Azure#16427) T2 resource 2021 02 26 (Azure#16961) T2 servicefabricmanagedclusters 2021 02 26 (Azure#16958) Update Prepare-Release script (Azure#16976) the previous filter was erroneously filtering out real files. (Azure#16978) Update azure-core minimum version (Azure#16968) update documention in depends section of eng_sys_checks.md (Azure#16967) version (Azure#16959) T2 web 2021 02 24 (Azure#16901) Change test pipeline to run in eastus2 (Azure#16950) Adding azure-devtools to mr-auth dev_requirements (Azure#16953) Add perf tests for eventgrid (Azure#16949) temp fix for canary tests (Azure#16945) Update get_package_properties to also return path to setup.py (Azure#16946) ...
openapi-sdkautomation bot
pushed a commit
to AzureSDKAutomation/azure-sdk-for-python
that referenced
this pull request
Jan 5, 2022
Track2 modify readme.go.md 6 (Azure#16949) * Track2 modify readme.go.md 6 * mariadb derective description
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #16541