From 04f25db805b9802f71dec369fc0935cee981f661 Mon Sep 17 00:00:00 2001 From: fabriziopandini Date: Thu, 12 Dec 2024 17:37:19 +0100 Subject: [PATCH] Nits --- test/e2e/scale_test.go | 10 +++++----- test/extension/config/tilt/extensionconfig.yaml | 8 +------- test/extension/tilt-provider.yaml | 2 ++ 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/test/e2e/scale_test.go b/test/e2e/scale_test.go index 2b0c688437..04fc3a161c 100644 --- a/test/e2e/scale_test.go +++ b/test/e2e/scale_test.go @@ -56,12 +56,12 @@ var _ = Describe("When testing the machinery for scale testing FP [vcsim] [super BootstrapClusterProxy: bootstrapClusterProxy, ArtifactFolder: artifactFolder, DeployClusterInSeparateNamespaces: true, - ClusterCount: ptr.To[int64](10), - Concurrency: ptr.To[int64](5), + ClusterCount: ptr.To[int64](100), + Concurrency: ptr.To[int64](20), ControlPlaneMachineCount: ptr.To[int64](1), MachineDeploymentCount: ptr.To[int64](1), - WorkerMachineCount: ptr.To[int64](3), - Flavor: ptr.To("topology"), + WorkerMachineCount: ptr.To[int64](1), + Flavor: ptr.To("topology-runtimesdk"), SkipUpgrade: true, SkipCleanup: skipCleanup, } @@ -686,7 +686,7 @@ func createClusterWorker(ctx context.Context, clusterProxy framework.ClusterProx IgnoreAlreadyExists: true, }, "40s", "10s") - logf("Setup VMOperator and VCSim dependencies in namespace %", namespaceName) + logf("Setup VMOperator and VCSim dependencies in namespace %s", namespaceName) setupNamespaceWithVMOperatorDependenciesVCSim(clusterProxy, namespaceName) } diff --git a/test/extension/config/tilt/extensionconfig.yaml b/test/extension/config/tilt/extensionconfig.yaml index 795af86cff..ad8b7ac166 100644 --- a/test/extension/config/tilt/extensionconfig.yaml +++ b/test/extension/config/tilt/extensionconfig.yaml @@ -3,16 +3,10 @@ kind: ExtensionConfig metadata: annotations: runtime.cluster.x-k8s.io/inject-ca-from-secret: capv-test-extension/capv-test-extension-webhook-service-cert - name: capv-test-extension + name: k8s-upgrade-with-runtimesdk # Note: used the same name used by E2E tests, so it possible to debug them with tilt spec: clientConfig: service: name: capv-test-extension-webhook-service namespace: capv-test-extension # Note: this assumes the test extension get deployed in the default namespace defined in its own runtime-extensions-components.yaml port: 443 - namespaceSelector: - matchExpressions: - - key: kubernetes.io/metadata.name - operator: In - values: - - default # Note: this assumes the test extension is used by Cluster in the default namespace only \ No newline at end of file diff --git a/test/extension/tilt-provider.yaml b/test/extension/tilt-provider.yaml index 2174c6969c..e571590cd4 100644 --- a/test/extension/tilt-provider.yaml +++ b/test/extension/tilt-provider.yaml @@ -9,3 +9,5 @@ label: CAPV_EXTENSION additional_resources: - config/tilt/extensionconfig.yaml + resource_deps: + - "capi_controller"