Skip to content

Test recording infra broken  #5126

@gearama

Description

@gearama

Describe the bug
Record test with libcurl , playback fails with winhttp after the latest fixes. the other way around fails also . Please fix the diffrences that were created due to the fixes put in.
Exception or Stack Trace
Keyvault and HSM areNotSameunknown file: error: C++ exception with description "Received an HTTP unsuccessful status code: 404 Reason: Not Found" thrown in the test body.

Failiing test

TEST_F(KeyVaultKeyHSMClient, GetRandomBytes)

To Reproduce
Steps to reproduce the behavior:
BUILD WITH LIBCURL
RECORD TEST
BUILD WITH WINHTTP
PLAYBACK FAILS

TEST_F(KeyVaultKeyHSMClient, GetRandomBytes)

Keyvault and HSM areNotSameunknown file: error: C++ exception with description "Received an HTTP unsuccessful status code: 404 Reason: Not Found" thrown in the test body.

RECORD/PLAYBACk with libcurl works
RECORD/PLAYBACK with WINHTTP works

cross does not work.
Code Snippet
Add the code snippet that causes the issue.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Setup (please complete the following information):

  • OS: [e.g. iOS]
  • IDE : [e.g. IntelliJ]
  • Version of the Library used

Additional context
Add any other context about the problem here.

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added

Metadata

Metadata

Labels

test-proxyAnything relating to test-proxy requests or issues.test-reliabilityIssue that causes tests to be unreliable

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions