From feeb9354ba3485e07c28319789495d8e512cd0e9 Mon Sep 17 00:00:00 2001 From: Markus Walker Date: Fri, 23 Jan 2026 14:32:51 -0800 Subject: [PATCH] Temporarily remove workloads checks in various tests --- validation/provisioning/dualstack/k3s_custom_test.go | 12 ------------ .../provisioning/dualstack/k3s_node_driver_test.go | 12 ------------ .../provisioning/dualstack/rke2_custom_test.go | 12 ------------ .../provisioning/dualstack/rke2_node_driver_test.go | 12 ------------ validation/provisioning/ipv6/k3s_custom_test.go | 12 ------------ validation/provisioning/ipv6/k3s_node_driver_test.go | 11 ----------- validation/provisioning/ipv6/rke2_custom_test.go | 12 ------------ .../provisioning/ipv6/rke2_node_driver_test.go | 12 ------------ validation/provisioning/k3s/custom_test.go | 12 ------------ validation/provisioning/k3s/hardened_test.go | 12 ------------ validation/provisioning/k3s/node_driver_test.go | 12 ------------ validation/provisioning/rke2/cni_test.go | 12 ------------ validation/provisioning/rke2/custom_test.go | 12 ------------ validation/provisioning/rke2/hardened_test.go | 12 ------------ validation/provisioning/rke2/node_driver_test.go | 12 ------------ 15 files changed, 179 deletions(-) diff --git a/validation/provisioning/dualstack/k3s_custom_test.go b/validation/provisioning/dualstack/k3s_custom_test.go index fdb4c5da0..c13f8b147 100644 --- a/validation/provisioning/dualstack/k3s_custom_test.go +++ b/validation/provisioning/dualstack/k3s_custom_test.go @@ -18,7 +18,6 @@ import ( "github.com/rancher/tests/actions/provisioning" "github.com/rancher/tests/actions/provisioninginput" "github.com/rancher/tests/actions/qase" - "github.com/rancher/tests/actions/workloads" "github.com/rancher/tests/actions/workloads/deployment" "github.com/rancher/tests/actions/workloads/pods" standard "github.com/rancher/tests/validation/provisioning/resources/standarduser" @@ -158,17 +157,6 @@ func TestCustomK3SDualstack(t *testing.T) { logrus.Infof("Verifying cluster pods (%s)", cluster.Name) err = pods.VerifyClusterPods(tt.client, cluster) require.NoError(t, err) - - workloadConfigs := new(workloads.Workloads) - operations.LoadObjectFromMap(workloads.WorkloadsConfigurationFileKey, k.cattleConfig, workloadConfigs) - - logrus.Infof("Creating workloads (%s)", cluster.Name) - workloadConfigs, err = workloads.CreateWorkloads(k.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) - - logrus.Infof("Verifying workloads (%s)", cluster.Name) - _, err = workloads.VerifyWorkloads(k.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) }) params := provisioning.GetCustomSchemaParams(tt.client, k.cattleConfig) diff --git a/validation/provisioning/dualstack/k3s_node_driver_test.go b/validation/provisioning/dualstack/k3s_node_driver_test.go index bea3514de..8b2cbdaac 100644 --- a/validation/provisioning/dualstack/k3s_node_driver_test.go +++ b/validation/provisioning/dualstack/k3s_node_driver_test.go @@ -18,7 +18,6 @@ import ( "github.com/rancher/tests/actions/provisioning" "github.com/rancher/tests/actions/provisioninginput" "github.com/rancher/tests/actions/qase" - "github.com/rancher/tests/actions/workloads" "github.com/rancher/tests/actions/workloads/deployment" "github.com/rancher/tests/actions/workloads/pods" standard "github.com/rancher/tests/validation/provisioning/resources/standarduser" @@ -142,17 +141,6 @@ func TestNodeDriverK3S(t *testing.T) { logrus.Infof("Verifying cluster pods (%s)", cluster.Name) err = pods.VerifyClusterPods(tt.client, cluster) require.NoError(t, err) - - workloadConfigs := new(workloads.Workloads) - operations.LoadObjectFromMap(workloads.WorkloadsConfigurationFileKey, k.cattleConfig, workloadConfigs) - - logrus.Infof("Creating workloads (%s)", cluster.Name) - workloadConfigs, err = workloads.CreateWorkloads(k.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) - - logrus.Infof("Verifying workloads (%s)", cluster.Name) - _, err = workloads.VerifyWorkloads(k.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) }) params := provisioning.GetProvisioningSchemaParams(tt.client, k.cattleConfig) diff --git a/validation/provisioning/dualstack/rke2_custom_test.go b/validation/provisioning/dualstack/rke2_custom_test.go index a4142a79e..313f6d404 100644 --- a/validation/provisioning/dualstack/rke2_custom_test.go +++ b/validation/provisioning/dualstack/rke2_custom_test.go @@ -17,7 +17,6 @@ import ( "github.com/rancher/tests/actions/provisioning" "github.com/rancher/tests/actions/provisioninginput" "github.com/rancher/tests/actions/qase" - "github.com/rancher/tests/actions/workloads" "github.com/rancher/tests/actions/workloads/deployment" "github.com/rancher/tests/actions/workloads/pods" standard "github.com/rancher/tests/validation/provisioning/resources/standarduser" @@ -144,17 +143,6 @@ func TestCustomRKE2Dualstack(t *testing.T) { logrus.Infof("Verifying cluster pods (%s)", cluster.Name) err = pods.VerifyClusterPods(tt.client, cluster) require.NoError(t, err) - - workloadConfigs := new(workloads.Workloads) - operations.LoadObjectFromMap(workloads.WorkloadsConfigurationFileKey, r.cattleConfig, workloadConfigs) - - logrus.Infof("Creating workloads (%s)", cluster.Name) - workloadConfigs, err = workloads.CreateWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) - - logrus.Infof("Verifying workloads (%s)", cluster.Name) - _, err = workloads.VerifyWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) }) params := provisioning.GetCustomSchemaParams(tt.client, r.cattleConfig) diff --git a/validation/provisioning/dualstack/rke2_node_driver_test.go b/validation/provisioning/dualstack/rke2_node_driver_test.go index cfdbe182f..048bb5f91 100644 --- a/validation/provisioning/dualstack/rke2_node_driver_test.go +++ b/validation/provisioning/dualstack/rke2_node_driver_test.go @@ -17,7 +17,6 @@ import ( "github.com/rancher/tests/actions/provisioning" "github.com/rancher/tests/actions/provisioninginput" "github.com/rancher/tests/actions/qase" - "github.com/rancher/tests/actions/workloads" "github.com/rancher/tests/actions/workloads/deployment" "github.com/rancher/tests/actions/workloads/pods" standard "github.com/rancher/tests/validation/provisioning/resources/standarduser" @@ -129,17 +128,6 @@ func TestNodeDriverRKE2(t *testing.T) { logrus.Infof("Verifying cluster pods (%s)", cluster.Name) err = pods.VerifyClusterPods(tt.client, cluster) require.NoError(t, err) - - workloadConfigs := new(workloads.Workloads) - operations.LoadObjectFromMap(workloads.WorkloadsConfigurationFileKey, r.cattleConfig, workloadConfigs) - - logrus.Infof("Creating workloads (%s)", cluster.Name) - workloadConfigs, err = workloads.CreateWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) - - logrus.Infof("Verifying workloads (%s)", cluster.Name) - _, err = workloads.VerifyWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) }) params := provisioning.GetProvisioningSchemaParams(tt.client, r.cattleConfig) diff --git a/validation/provisioning/ipv6/k3s_custom_test.go b/validation/provisioning/ipv6/k3s_custom_test.go index 84003c345..5bb6b7a0c 100644 --- a/validation/provisioning/ipv6/k3s_custom_test.go +++ b/validation/provisioning/ipv6/k3s_custom_test.go @@ -18,7 +18,6 @@ import ( "github.com/rancher/tests/actions/provisioning" "github.com/rancher/tests/actions/provisioninginput" "github.com/rancher/tests/actions/qase" - "github.com/rancher/tests/actions/workloads" "github.com/rancher/tests/actions/workloads/deployment" "github.com/rancher/tests/actions/workloads/pods" standard "github.com/rancher/tests/validation/provisioning/resources/standarduser" @@ -157,17 +156,6 @@ func TestCustomK3SIPv6(t *testing.T) { logrus.Infof("Verifying cluster pods (%s)", cluster.Name) err = pods.VerifyClusterPods(tt.client, cluster) require.NoError(t, err) - - workloadConfigs := new(workloads.Workloads) - operations.LoadObjectFromMap(workloads.WorkloadsConfigurationFileKey, r.cattleConfig, workloadConfigs) - - logrus.Infof("Creating workloads (%s)", cluster.Name) - workloadConfigs, err = workloads.CreateWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) - - logrus.Infof("Verifying workloads (%s)", cluster.Name) - _, err = workloads.VerifyWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) }) params := provisioning.GetCustomSchemaParams(tt.client, r.cattleConfig) diff --git a/validation/provisioning/ipv6/k3s_node_driver_test.go b/validation/provisioning/ipv6/k3s_node_driver_test.go index 3b6831464..96b04edfd 100644 --- a/validation/provisioning/ipv6/k3s_node_driver_test.go +++ b/validation/provisioning/ipv6/k3s_node_driver_test.go @@ -18,7 +18,6 @@ import ( "github.com/rancher/tests/actions/provisioning" "github.com/rancher/tests/actions/provisioninginput" "github.com/rancher/tests/actions/qase" - "github.com/rancher/tests/actions/workloads" "github.com/rancher/tests/actions/workloads/deployment" "github.com/rancher/tests/actions/workloads/pods" standard "github.com/rancher/tests/validation/provisioning/resources/standarduser" @@ -151,16 +150,6 @@ func TestNodeDriverK3SIPv6(t *testing.T) { err = pods.VerifyClusterPods(tt.client, cluster) require.NoError(t, err) - workloadConfigs := new(workloads.Workloads) - operations.LoadObjectFromMap(workloads.WorkloadsConfigurationFileKey, r.cattleConfig, workloadConfigs) - - logrus.Infof("Creating workloads (%s)", cluster.Name) - workloadConfigs, err = workloads.CreateWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) - - logrus.Infof("Verifying workloads (%s)", cluster.Name) - _, err = workloads.VerifyWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) }) params := provisioning.GetProvisioningSchemaParams(tt.client, r.cattleConfig) diff --git a/validation/provisioning/ipv6/rke2_custom_test.go b/validation/provisioning/ipv6/rke2_custom_test.go index 331760872..c8db77c7f 100644 --- a/validation/provisioning/ipv6/rke2_custom_test.go +++ b/validation/provisioning/ipv6/rke2_custom_test.go @@ -17,7 +17,6 @@ import ( "github.com/rancher/tests/actions/provisioning" "github.com/rancher/tests/actions/provisioninginput" "github.com/rancher/tests/actions/qase" - "github.com/rancher/tests/actions/workloads" "github.com/rancher/tests/actions/workloads/deployment" "github.com/rancher/tests/actions/workloads/pods" standard "github.com/rancher/tests/validation/provisioning/resources/standarduser" @@ -144,17 +143,6 @@ func TestCustomRKE2IPv6(t *testing.T) { logrus.Infof("Verifying cluster pods (%s)", cluster.Name) err = pods.VerifyClusterPods(tt.client, cluster) require.NoError(t, err) - - workloadConfigs := new(workloads.Workloads) - operations.LoadObjectFromMap(workloads.WorkloadsConfigurationFileKey, r.cattleConfig, workloadConfigs) - - logrus.Infof("Creating workloads (%s)", cluster.Name) - workloadConfigs, err = workloads.CreateWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) - - logrus.Infof("Verifying workloads (%s)", cluster.Name) - _, err = workloads.VerifyWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) }) params := provisioning.GetCustomSchemaParams(tt.client, r.cattleConfig) diff --git a/validation/provisioning/ipv6/rke2_node_driver_test.go b/validation/provisioning/ipv6/rke2_node_driver_test.go index 68719e904..d101e8f47 100644 --- a/validation/provisioning/ipv6/rke2_node_driver_test.go +++ b/validation/provisioning/ipv6/rke2_node_driver_test.go @@ -17,7 +17,6 @@ import ( "github.com/rancher/tests/actions/provisioning" "github.com/rancher/tests/actions/provisioninginput" "github.com/rancher/tests/actions/qase" - "github.com/rancher/tests/actions/workloads" "github.com/rancher/tests/actions/workloads/deployment" "github.com/rancher/tests/actions/workloads/pods" standard "github.com/rancher/tests/validation/provisioning/resources/standarduser" @@ -137,17 +136,6 @@ func TestNodeDriverRKE2IPv6(t *testing.T) { logrus.Infof("Verifying cluster pods (%s)", cluster.Name) err = pods.VerifyClusterPods(tt.client, cluster) require.NoError(t, err) - - workloadConfigs := new(workloads.Workloads) - operations.LoadObjectFromMap(workloads.WorkloadsConfigurationFileKey, r.cattleConfig, workloadConfigs) - - logrus.Infof("Creating workloads (%s)", cluster.Name) - workloadConfigs, err = workloads.CreateWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) - - logrus.Infof("Verifying workloads (%s)", cluster.Name) - _, err = workloads.VerifyWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) }) params := provisioning.GetProvisioningSchemaParams(tt.client, r.cattleConfig) diff --git a/validation/provisioning/k3s/custom_test.go b/validation/provisioning/k3s/custom_test.go index 85ee0d434..18815aedc 100644 --- a/validation/provisioning/k3s/custom_test.go +++ b/validation/provisioning/k3s/custom_test.go @@ -17,7 +17,6 @@ import ( "github.com/rancher/tests/actions/provisioning" "github.com/rancher/tests/actions/provisioninginput" "github.com/rancher/tests/actions/qase" - "github.com/rancher/tests/actions/workloads" "github.com/rancher/tests/actions/workloads/deployment" "github.com/rancher/tests/actions/workloads/pods" standard "github.com/rancher/tests/validation/provisioning/resources/standarduser" @@ -118,17 +117,6 @@ func TestCustom(t *testing.T) { logrus.Infof("Verifying cluster pods (%s)", cluster.Name) err = pods.VerifyClusterPods(tt.client, cluster) require.NoError(t, err) - - workloadConfigs := new(workloads.Workloads) - operations.LoadObjectFromMap(workloads.WorkloadsConfigurationFileKey, k.cattleConfig, workloadConfigs) - - logrus.Infof("Creating workloads (%s)", cluster.Name) - workloadConfigs, err = workloads.CreateWorkloads(k.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) - - logrus.Infof("Verifying workloads (%s)", cluster.Name) - _, err = workloads.VerifyWorkloads(k.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) }) params := provisioning.GetCustomSchemaParams(tt.client, k.cattleConfig) diff --git a/validation/provisioning/k3s/hardened_test.go b/validation/provisioning/k3s/hardened_test.go index df7ba5844..4720ebaac 100644 --- a/validation/provisioning/k3s/hardened_test.go +++ b/validation/provisioning/k3s/hardened_test.go @@ -22,7 +22,6 @@ import ( "github.com/rancher/tests/actions/provisioning" "github.com/rancher/tests/actions/qase" "github.com/rancher/tests/actions/reports" - "github.com/rancher/tests/actions/workloads" "github.com/rancher/tests/actions/workloads/deployment" "github.com/rancher/tests/actions/workloads/pods" cis "github.com/rancher/tests/validation/provisioning/resources/cisbenchmark" @@ -147,17 +146,6 @@ func TestHardened(t *testing.T) { logrus.Infof("Running CIS scan on cluster (%s)", cluster.Name) cis.RunCISScan(tt.client, k.project.ClusterID, tt.scanProfileName) - - workloadConfigs := new(workloads.Workloads) - operations.LoadObjectFromMap(workloads.WorkloadsConfigurationFileKey, k.cattleConfig, workloadConfigs) - - logrus.Infof("Creating workloads (%s)", cluster.Name) - workloadConfigs, err = workloads.CreateWorkloads(k.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) - - logrus.Infof("Verifying workloads (%s)", cluster.Name) - _, err = workloads.VerifyWorkloads(k.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) }) params := provisioning.GetCustomSchemaParams(tt.client, k.cattleConfig) diff --git a/validation/provisioning/k3s/node_driver_test.go b/validation/provisioning/k3s/node_driver_test.go index e62697b30..cd69c2011 100644 --- a/validation/provisioning/k3s/node_driver_test.go +++ b/validation/provisioning/k3s/node_driver_test.go @@ -17,7 +17,6 @@ import ( "github.com/rancher/tests/actions/provisioning" "github.com/rancher/tests/actions/provisioninginput" "github.com/rancher/tests/actions/qase" - "github.com/rancher/tests/actions/workloads" "github.com/rancher/tests/actions/workloads/deployment" "github.com/rancher/tests/actions/workloads/pods" standard "github.com/rancher/tests/validation/provisioning/resources/standarduser" @@ -118,17 +117,6 @@ func TestNodeDriver(t *testing.T) { logrus.Infof("Verifying cluster pods (%s)", cluster.Name) err = pods.VerifyClusterPods(tt.client, cluster) require.NoError(t, err) - - workloadConfigs := new(workloads.Workloads) - operations.LoadObjectFromMap(workloads.WorkloadsConfigurationFileKey, k.cattleConfig, workloadConfigs) - - logrus.Infof("Creating workloads (%s)", cluster.Name) - workloadConfigs, err = workloads.CreateWorkloads(k.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) - - logrus.Infof("Verifying workloads (%s)", cluster.Name) - _, err = workloads.VerifyWorkloads(k.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) }) params := provisioning.GetProvisioningSchemaParams(tt.client, k.cattleConfig) diff --git a/validation/provisioning/rke2/cni_test.go b/validation/provisioning/rke2/cni_test.go index 8cb7fe496..035d558d5 100644 --- a/validation/provisioning/rke2/cni_test.go +++ b/validation/provisioning/rke2/cni_test.go @@ -16,7 +16,6 @@ import ( "github.com/rancher/tests/actions/logging" "github.com/rancher/tests/actions/provisioning" "github.com/rancher/tests/actions/qase" - "github.com/rancher/tests/actions/workloads" "github.com/rancher/tests/actions/workloads/deployment" "github.com/rancher/tests/actions/workloads/pods" standard "github.com/rancher/tests/validation/provisioning/resources/standarduser" @@ -109,17 +108,6 @@ func TestCNI(t *testing.T) { logrus.Infof("Verifying cluster pods (%s)", cluster.Name) err = pods.VerifyClusterPods(r.client, cluster) require.NoError(t, err) - - workloadConfigs := new(workloads.Workloads) - operations.LoadObjectFromMap(workloads.WorkloadsConfigurationFileKey, r.cattleConfig, workloadConfigs) - - logrus.Infof("Creating workloads (%s)", cluster.Name) - workloadConfigs, err = workloads.CreateWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) - - logrus.Infof("Verifying workloads (%s)", cluster.Name) - _, err = workloads.VerifyWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) }) params := provisioning.GetProvisioningSchemaParams(tt.client, r.cattleConfig) diff --git a/validation/provisioning/rke2/custom_test.go b/validation/provisioning/rke2/custom_test.go index 18c355824..87bd0d44c 100644 --- a/validation/provisioning/rke2/custom_test.go +++ b/validation/provisioning/rke2/custom_test.go @@ -17,7 +17,6 @@ import ( "github.com/rancher/tests/actions/provisioning" "github.com/rancher/tests/actions/provisioninginput" "github.com/rancher/tests/actions/qase" - "github.com/rancher/tests/actions/workloads" "github.com/rancher/tests/actions/workloads/deployment" "github.com/rancher/tests/actions/workloads/pods" standard "github.com/rancher/tests/validation/provisioning/resources/standarduser" @@ -126,17 +125,6 @@ func TestCustom(t *testing.T) { logrus.Infof("Verifying cluster pods (%s)", cluster.Name) err = pods.VerifyClusterPods(r.client, cluster) require.NoError(t, err) - - workloadConfigs := new(workloads.Workloads) - operations.LoadObjectFromMap(workloads.WorkloadsConfigurationFileKey, r.cattleConfig, workloadConfigs) - - logrus.Infof("Creating workloads (%s)", cluster.Name) - workloadConfigs, err = workloads.CreateWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) - - logrus.Infof("Verifying workloads (%s)", cluster.Name) - _, err = workloads.VerifyWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) }) params := provisioning.GetCustomSchemaParams(tt.client, r.cattleConfig) diff --git a/validation/provisioning/rke2/hardened_test.go b/validation/provisioning/rke2/hardened_test.go index 79320ecf1..960d5528c 100644 --- a/validation/provisioning/rke2/hardened_test.go +++ b/validation/provisioning/rke2/hardened_test.go @@ -22,7 +22,6 @@ import ( "github.com/rancher/tests/actions/provisioning" "github.com/rancher/tests/actions/qase" "github.com/rancher/tests/actions/reports" - "github.com/rancher/tests/actions/workloads" "github.com/rancher/tests/actions/workloads/deployment" "github.com/rancher/tests/actions/workloads/pods" cis "github.com/rancher/tests/validation/provisioning/resources/cisbenchmark" @@ -148,17 +147,6 @@ func TestHardened(t *testing.T) { logrus.Infof("Running CIS scan on cluster (%s)", cluster.Name) cis.RunCISScan(tt.client, r.project.ClusterID, tt.scanProfileName) - - workloadConfigs := new(workloads.Workloads) - operations.LoadObjectFromMap(workloads.WorkloadsConfigurationFileKey, r.cattleConfig, workloadConfigs) - - logrus.Infof("Creating workloads (%s)", cluster.Name) - workloadConfigs, err = workloads.CreateWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) - - logrus.Infof("Verifying workloads (%s)", cluster.Name) - _, err = workloads.VerifyWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) }) params := provisioning.GetCustomSchemaParams(tt.client, r.cattleConfig) diff --git a/validation/provisioning/rke2/node_driver_test.go b/validation/provisioning/rke2/node_driver_test.go index 933407e1c..8102be1f0 100644 --- a/validation/provisioning/rke2/node_driver_test.go +++ b/validation/provisioning/rke2/node_driver_test.go @@ -17,7 +17,6 @@ import ( "github.com/rancher/tests/actions/provisioning" "github.com/rancher/tests/actions/provisioninginput" "github.com/rancher/tests/actions/qase" - "github.com/rancher/tests/actions/workloads" "github.com/rancher/tests/actions/workloads/deployment" "github.com/rancher/tests/actions/workloads/pods" standard "github.com/rancher/tests/validation/provisioning/resources/standarduser" @@ -125,17 +124,6 @@ func TestNodeDriver(t *testing.T) { logrus.Infof("Verifying cluster pods (%s)", cluster.Name) err = pods.VerifyClusterPods(r.client, cluster) require.NoError(t, err) - - workloadConfigs := new(workloads.Workloads) - operations.LoadObjectFromMap(workloads.WorkloadsConfigurationFileKey, r.cattleConfig, workloadConfigs) - - logrus.Infof("Creating workloads (%s)", cluster.Name) - workloadConfigs, err = workloads.CreateWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) - - logrus.Infof("Verifying workloads (%s)", cluster.Name) - _, err = workloads.VerifyWorkloads(r.client, cluster.Name, *workloadConfigs) - require.NoError(t, err) }) params := provisioning.GetProvisioningSchemaParams(tt.client, r.cattleConfig)