Add support for response builders on IRequestConfiguration #184
Triggered via pull request
November 14, 2024 06:46
Status
Failure
Total duration
11m 21s
Artifacts
–
Annotations
7 errors and 2 warnings
SpecialisedResponseTests.PlainText_WithCustomResponseBuilder_WithoutDisableDirectStreaming:
tests\Elastic.Transport.IntegrationTests\Responses\SpecialisedResponseTests.cs#L1
Elastic.Transport.UnexpectedTransportException : 'test-value' is an invalid JSON literal. Expected the literal 'true'. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
---- System.Text.Json.JsonException : 'test-value' is an invalid JSON literal. Expected the literal 'true'. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
-------- System.Text.Json.JsonReaderException : 'test-value' is an invalid JSON literal. Expected the literal 'true'. LineNumber: 0 | BytePositionInLine: 1.
|
SpecialisedResponseTests.PlainText_WithCustomResponseBuilder_WithDisableDirectStreaming_MemoryStreamShouldBeDisposed:
tests\Elastic.Transport.IntegrationTests\Responses\SpecialisedResponseTests.cs#L1
Elastic.Transport.UnexpectedTransportException : 'test-value' is an invalid JSON literal. Expected the literal 'true'. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
---- System.Text.Json.JsonException : 'test-value' is an invalid JSON literal. Expected the literal 'true'. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
-------- System.Text.Json.JsonReaderException : 'test-value' is an invalid JSON literal. Expected the literal 'true'. LineNumber: 0 | BytePositionInLine: 1.
|
RequestConfigurationTests.CopiesAllProperties:
tests\Elastic.Transport.Tests\Configuration\RequestConfigurationTests.cs#L1
Expected property config.ResponseBuilders to be <null>, but found {empty}.
With configuration:
- Use declared types and members
- Compare enums by value
- Compare tuples by their properties
- Compare anonymous types by their properties
- Compare records by their members
- Include non-browsable members
- Match member by name (or throw)
- Be strict about the order of items in byte arrays
- Without automatic conversion.
|
RequestConfigurationTests.SameDefaults:
tests\Elastic.Transport.Tests\Configuration\RequestConfigurationTests.cs#L1
Expected property config.ResponseBuilders to be <null>, but found {empty}.
With configuration:
- Use declared types and members
- Compare enums by value
- Compare tuples by their properties
- Compare anonymous types by their properties
- Compare records by their members
- Include non-browsable members
- Match member by name (or throw)
- Be strict about the order of items in byte arrays
- Without automatic conversion.
|
RequestConfigurationTests.SameDefaults:
tests\Elastic.Transport.Tests\Configuration\RequestConfigurationTests.cs#L1
Expected property root.ResponseBuilders to be <null>, but found {empty}.
With configuration:
- Use declared types and members
- Compare enums by value
- Compare tuples by their properties
- Compare anonymous types by their properties
- Compare records by their members
- Include non-browsable members
- Match member by name (or throw)
- Be strict about the order of items in byte arrays
- Without automatic conversion.
|
tests
❌ Tests reported 5 failures
|
tests
Process completed with exit code 1.
|
tests
Found version-specific or distribution-specific runtime identifier(s): debian-x64, fedora-x64, opensuse-x64, rhel-x64, win7-arm, win7-x64, win7-x86. Affected libraries: Libuv. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
|
tests
Found version-specific or distribution-specific runtime identifier(s): debian-x64, fedora-x64, opensuse-x64, rhel-x64, win7-arm, win7-x64, win7-x86. Affected libraries: Libuv. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
|