This commit is contained in:
parent
e04370a376
commit
6a91b556a5
2 changed files with 7 additions and 11 deletions
|
|
@ -110,7 +110,6 @@ func createTestDeploymentPlan() *DeploymentPlan {
|
|||
{
|
||||
Type: ActionCreate,
|
||||
Target: config.InfraTemplate{
|
||||
Organization: "testorg",
|
||||
Region: "US",
|
||||
CloudletOrg: "cloudletorg",
|
||||
CloudletName: "cloudlet1",
|
||||
|
|
@ -139,6 +138,7 @@ func createTestManagerConfig(t *testing.T) *config.EdgeConnectConfig {
|
|||
Metadata: config.Metadata{
|
||||
Name: "test-app",
|
||||
AppVersion: "1.0.0",
|
||||
Organization: "testorg",
|
||||
},
|
||||
Spec: config.Spec{
|
||||
K8sApp: &config.K8sApp{
|
||||
|
|
@ -146,7 +146,6 @@ func createTestManagerConfig(t *testing.T) *config.EdgeConnectConfig {
|
|||
},
|
||||
InfraTemplate: []config.InfraTemplate{
|
||||
{
|
||||
Organization: "testorg",
|
||||
Region: "US",
|
||||
CloudletOrg: "cloudletorg",
|
||||
CloudletName: "cloudlet1",
|
||||
|
|
@ -309,7 +308,6 @@ func TestApplyDeploymentMultipleInstances(t *testing.T) {
|
|||
{
|
||||
Type: ActionCreate,
|
||||
Target: config.InfraTemplate{
|
||||
Organization: "testorg",
|
||||
Region: "US",
|
||||
CloudletOrg: "cloudletorg1",
|
||||
CloudletName: "cloudlet1",
|
||||
|
|
@ -321,7 +319,6 @@ func TestApplyDeploymentMultipleInstances(t *testing.T) {
|
|||
{
|
||||
Type: ActionCreate,
|
||||
Target: config.InfraTemplate{
|
||||
Organization: "testorg",
|
||||
Region: "EU",
|
||||
CloudletOrg: "cloudletorg2",
|
||||
CloudletName: "cloudlet2",
|
||||
|
|
|
|||
|
|
@ -114,6 +114,7 @@ func createTestConfig(t *testing.T) *config.EdgeConnectConfig {
|
|||
Metadata: config.Metadata{
|
||||
Name: "test-app",
|
||||
AppVersion: "1.0.0",
|
||||
Organization: "testorg",
|
||||
},
|
||||
Spec: config.Spec{
|
||||
K8sApp: &config.K8sApp{
|
||||
|
|
@ -121,7 +122,6 @@ func createTestConfig(t *testing.T) *config.EdgeConnectConfig {
|
|||
},
|
||||
InfraTemplate: []config.InfraTemplate{
|
||||
{
|
||||
Organization: "testorg",
|
||||
Region: "US",
|
||||
CloudletOrg: "TestCloudletOrg",
|
||||
CloudletName: "TestCloudlet",
|
||||
|
|
@ -286,7 +286,6 @@ func TestPlanMultipleInfrastructures(t *testing.T) {
|
|||
|
||||
// Add a second infrastructure target
|
||||
testConfig.Spec.InfraTemplate = append(testConfig.Spec.InfraTemplate, config.InfraTemplate{
|
||||
Organization: "testorg",
|
||||
Region: "EU",
|
||||
CloudletOrg: "EUCloudletOrg",
|
||||
CloudletName: "EUCloudlet",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue