Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

fix: bypass AzurePublicCloud assumption in e2e suite #3371

Merged
merged 1 commit into from
May 29, 2020

Conversation

jadarsie
Copy link
Member

Reason for Change:
E2E should not hard-code public Azure cloud as it breaks custom clouds running E2E.
This PR is not a proper fix, it just makes things work again for Azure Stack.

Introduced here PR #3144.

Requirements:

Notes:

@codecov
Copy link

codecov bot commented May 29, 2020

Codecov Report

Merging #3371 into master will increase coverage by 0.41%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3371      +/-   ##
==========================================
+ Coverage   72.16%   72.57%   +0.41%     
==========================================
  Files         147      147              
  Lines       25419    25215     -204     
==========================================
- Hits        18343    18300      -43     
+ Misses       5939     5782     -157     
+ Partials     1137     1133       -4     
Impacted Files Coverage Δ
pkg/api/vlabs/validate.go 80.37% <0.00%> (-0.16%) ⬇️
pkg/api/defaults.go 92.58% <0.00%> (-0.07%) ⬇️
pkg/engine/templates_generated.go 47.83% <0.00%> (+3.36%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6d75e6e...7910d7b. Read the comment docs.

@@ -2146,7 +2148,7 @@ var _ = Describe("Azure Container Cluster using the Kubernetes Orchestrator", fu
break
}
}

// TODO refactor to remove the "compute" usage so the test can be run on Azure Stack
Copy link
Member

Choose a reason for hiding this comment

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

We're O.K. with leaving this TODO as is? This means these tests will fail, right?

Copy link
Member

Choose a reason for hiding this comment

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

(fail in Azure Stack, that is)

Copy link
Member Author

Choose a reason for hiding this comment

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

OK, for now, it wont get to this point as we do not yet support VMSS

Copy link
Member

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

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

/lgtm

@acs-bot acs-bot added the lgtm label May 29, 2020
@jackfrancis jackfrancis merged commit 7d1ca38 into Azure:master May 29, 2020
@acs-bot
Copy link

acs-bot commented May 29, 2020

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jackfrancis, jadarsie

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants