The java folks have a super fun situation on their hands. @lmolkova is transitioning the container registry tests to the test proxy.
Sameeksha's original thought is that as part of this test, json is sent to the service with some content that looks something like this:
Which, when deserialized, sanitized, and reserialized, has a unnecessary backslash disappear and becomes
Such that when we run in playback, the digest now doesn't align. Included in the original context of this issue was a stack overflow that highlights why this may be occurring for this service 👍
We need to come up with a resolution for this situation.
Repro
- Check out this branch
mvn install -f .\sdk\containerregistry\azure-containers-containerregistry\pom.xml "-Dcodesnippet.skip" "-Drevapi.skip" "-Dspotbugs.skip" -DskipTests=true "-Djacoco.skip" "-Dmaven.javadoc.skip=true" -DskipTestCompile "-Dcheckstyle.skip=true"
mvn surefire:test -f .\sdk\containerregistry\azure-containers-containerregistry\pom.xml "-Dcodesnippet.skip" "-Drevapi.skip" "-Dspotbugs.skip" "-Djacoco.skip" "-Dmaven.javadoc.skip=true" -DskipTestCompile "-Dcheckstyle.skip=true" "-Dtest=ContainerRegistryContentClientIntegrationTests#getManifestListManifest"
CC @samvaity for FYI
The java folks have a super fun situation on their hands. @lmolkova is transitioning the container registry tests to the test proxy.
Sameeksha's original thought is that as part of this test, json is sent to the service with some content that looks something like this:
Which, when deserialized, sanitized, and reserialized, has a unnecessary backslash disappear and becomes
{ "key": "/hello" }Such that when we run in playback, the digest now doesn't align. Included in the original context of this issue was a stack overflow that highlights why this may be occurring for this service 👍
We need to come up with a resolution for this situation.
Repro
mvn install -f .\sdk\containerregistry\azure-containers-containerregistry\pom.xml "-Dcodesnippet.skip" "-Drevapi.skip" "-Dspotbugs.skip" -DskipTests=true "-Djacoco.skip" "-Dmaven.javadoc.skip=true" -DskipTestCompile "-Dcheckstyle.skip=true"mvn surefire:test -f .\sdk\containerregistry\azure-containers-containerregistry\pom.xml "-Dcodesnippet.skip" "-Drevapi.skip" "-Dspotbugs.skip" "-Djacoco.skip" "-Dmaven.javadoc.skip=true" -DskipTestCompile "-Dcheckstyle.skip=true" "-Dtest=ContainerRegistryContentClientIntegrationTests#getManifestListManifest"CC @samvaity for FYI