azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

[EventHubs] kwargs/error testing

Open swathipil opened this issue 3 years ago • 11 comments

fixes: #26229 fixes: #24846 fixes: #24680

Table of kwargs tested are in the issue above.

  • Most tests added were for EventHubConsumerClient/ProducerClient constructor kwargs.
  • Added tests for invalid key/policy name in the EventHubSharedKeyCredential.
  • A lot of the params for send_event/send_batch were already being tested.
  • receive/receive_batch kwargs seemed to pretty thoroughly tested as well.
  • A few errors were caught by changing permissions/settings on the EH. (ex. Disabling the EH in the middle of receiving, Not adding the EH Data Owner Role + using AAD)
  • sync consumer is not raising/handling errors correctly for retry_total > 0. This was happening in previously GA'ed versions as well, so can be addressed later. Issue created: #27137

swathipil avatar Oct 26 '22 12:10 swathipil

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-eventhub

azure-sdk avatar Oct 26 '22 13:10 azure-sdk

/azp run python - eventhub - tests

swathipil avatar Nov 02 '22 14:11 swathipil

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 02 '22 14:11 azure-pipelines[bot]

/azp run python - eventhub - tests

swathipil avatar Nov 08 '22 03:11 swathipil

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 08 '22 03:11 azure-pipelines[bot]

/azp run python - eventhub - tests

swathipil avatar Nov 08 '22 19:11 swathipil

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 08 '22 19:11 azure-pipelines[bot]

/azp run python - eventhub - tests

swathipil avatar Nov 10 '22 19:11 swathipil

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 10 '22 19:11 azure-pipelines[bot]

/azp run python - eventhub - tests

swathipil avatar Nov 11 '22 01:11 swathipil

Pull request contains merge conflicts.

azure-pipelines[bot] avatar Nov 11 '22 01:11 azure-pipelines[bot]

/azp run python - eventhub - tests

swathipil avatar Nov 11 '22 19:11 swathipil

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 11 '22 19:11 azure-pipelines[bot]