Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.56k stars 2.79k forks source link

[SchemaRegistry] unskip failing regression tests #26734

Open swathipil opened 1 year ago

swathipil commented 1 year ago

some of the azure-schemaregistry-avroencoder tests are failing due to testproxy recording headers not matching. The following tests are failing in the pipeline but not locally. Figure out why:

FAILED azure-sdk-for-python/sdk/schemaregistry/azure-schemaregistry-avroencoder/tests/test_avro_encoder.py::TestAvroEncoder::test_basic_sr_avro_encoder_with_auto_register_schemas
FAILED azure-sdk-for-python/sdk/schemaregistry/azure-schemaregistry-avroencoder/tests/test_avro_encoder.py::TestAvroEncoder::test_parse_record_name
FAILED azure-sdk-for-python/sdk/schemaregistry/azure-schemaregistry-avroencoder/tests/test_avro_encoder_async.py::TestAvroEncoderAsync::test_basic_sr_avro_encoder_with_auto_register_schemas
FAILED azure-sdk-for-python/sdk/schemaregistry/azure-schemaregistry-avroencoder/tests/test_avro_encoder_async.py::TestAvroEncoderAsync::test_parse_record_name

error: E Content: {"Message":"Unable to find a record for the request PUT https://fake_resource.servicebus.windows.net/$schemaGroups/fakegroup/schemas/User.avro?api-version=2021-10\nHeader differences:\n \u003CAuthorization\u003E is absent in record, value \u003CSanitized\u003E\n \u003Cx-ms-client-request-id\u003E is absent in record, value \u003C4e0794f4-4627-11ed-87da-897809035f36\u003E\nBody differences:\n","Status":"NotFound"}

Need to fix the recordings on this branch: https://github.com/Azure/azure-sdk-for-python/tree/azure-schemaregistry-avroencoder_1.0.0_tests

azure-sdk commented 1 year ago

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Schema Registry:0.32061398,Container Registry:0.31107053,Azure.Core:0.041702524'