Skip to content

Conversation

@pallavit
Copy link
Contributor

@pallavit pallavit commented Jul 21, 2021

Update ACR tests to work with national cloud(s). I have also added a manual weekly pipeline that runs it against USGov, China.

@pallavit pallavit self-assigned this Jul 21, 2021
@pallavit pallavit force-pushed the pallavit/acrcloudtests branch 2 times, most recently from 6b6a73b to 1649db1 Compare July 21, 2021 18:35
@pallavit pallavit marked this pull request as ready for review July 21, 2021 18:37
Comment on lines 190 to 196
if (getTestMode() != TestMode.PLAYBACK) {
// Now doing the same should fail with the separate registryClient;
ContainerRegistryClient throwableRegistryClient = getContainerRegistryBuilder(httpClient)
.authenticationScope(AZURE_GOV_AUTHENTICATION_SCOPE)
.buildClient();
assertThrows(ClientAuthenticationException.class, () -> throwableRegistryClient.listRepositoryNames().stream().collect(Collectors.toList()));
}
Copy link
Member

@alzimmermsft alzimmermsft Jul 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be made into a separate test that has an assumption of TestMode != PLAYBACK #Resolved

@pallavit pallavit force-pushed the pallavit/acrcloudtests branch 2 times, most recently from 74f9a25 to 6900985 Compare July 21, 2021 23:22
@pallavit pallavit force-pushed the pallavit/acrcloudtests branch from 6900985 to ede9b7a Compare July 21, 2021 23:23
@pallavit pallavit merged commit 77efff6 into Azure:main Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Container Registry] Set up weekly test pipeline for non-public clouds

2 participants