From 906a76f5d9524b473a643c7b0614f0268ba8fd2e Mon Sep 17 00:00:00 2001 From: Michael Sverdlov Date: Mon, 15 Jan 2024 20:22:25 +0200 Subject: [PATCH] fix conda Signed-off-by: Michael Sverdlov --- tests/artifactoryremoterepository_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/artifactoryremoterepository_test.go b/tests/artifactoryremoterepository_test.go index a6c116002..f9d10bea0 100644 --- a/tests/artifactoryremoterepository_test.go +++ b/tests/artifactoryremoterepository_test.go @@ -818,7 +818,8 @@ func remoteTerraformTest(t *testing.T) { validateRepoConfig(t, repoKey, srp) setRemoteRepositoryBaseParams(&srp.RemoteRepositoryBaseParams, true) - + // Due to a bug on Artifactory side that prevents the update of "bypassHeadRequests" field to false on terraform we leave it unchanged. + srp.BypassHeadRequests = utils.Pointer(true) err = testsUpdateRemoteRepositoryService.Terraform(srp) if assert.NoError(t, err, "Failed to update "+repoKey) { validateRepoConfig(t, repoKey, srp)