Azure-sdk-for-net: [BUG] Cannot record test cases with special characters in the name

Created on 22 Jun 2020  路  5Comments  路  Source: Azure/azure-sdk-for-net

Example - https://github.com/Azure/azure-sdk-for-net/pull/12896/files#diff-e152777102db76590298fbda43777754R2099

Azure.Core Test Debt bug

All 5 comments

@JoshLove-msft can you please take a look?

@seanmcc-msft in the comments of the example you mention it says this:

// Test framework doesn't allow recorded tests with connection string because the word 'Sanitized' is not base-64 encoded,
// so we can't pass connection string validation

My understanding here is that what is happening is the recording files are not able to be saved because the file path contains invalid characters. I'm not sure how this relates to 'Sanitized' not being base-64 encoded. Is the comment referring to a different issue?

@seanmcc-msft in the comments of the example you mention it says this:

// Test framework doesn't allow recorded tests with connection string because the word 'Sanitized' is not base-64 encoded,
// so we can't pass connection string validation

My understanding here is that what is happening is the recording files are not able to be saved because the file path contains invalid characters. I'm not sure how this relates to 'Sanitized' not being base-64 encoded. Is the comment referring to a different issue?

That comment is related to a separate issue, that appeared before this one, and I didn't update the comment.

Not being able to save the test files because their path contains invalid characters is also blocking recording that test.

@JoshLove-msft, I'm not sure if this change is functioning correctly on Mac and Linux - https://github.com/Azure/azure-sdk-for-net/pull/13083

Was this page helpful?
0 / 5 - 0 ratings