-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[EventHubs] Run samples in live test pipelines #16045
Copy link
Copy link
Closed
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Event Hubs
Milestone
Description
see PR: #15694
major steps (copying from formrecognizer):
- Indicate in your tests.yml that you want your samples to run by setting parameter TestSamples: true . Example:
https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/formrecognizer/tests.yml#L9 - Add any environment variables used in your samples to your tests.yml and update them in the keyvault/devops variable group if needed. Example: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/formrecognizer/tests.yml#L54-L71
- Run your live test pipeline. Samples will run as a separate step after tests complete.
for eventhub:
- most samples are running forever because of the push mode
- either tweak them not to run forever
- or exclude the sample via setting
IGNORED_SAMPLESinsidescripts/devops_tasks/test_run_samples.py
IGNORED_SAMPLES = {
"azure-eventhub": [
"<sample not to be run>.py",(add comment on why we need to ignore some of the samples)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Event Hubs