From 9382153e2c9dc155b45ac815f16511a8084852b0 Mon Sep 17 00:00:00 2001 From: Tomasz Konieczny Date: Tue, 15 Oct 2024 15:46:47 +0200 Subject: [PATCH] workflow examples - testkube.io replaced with test page --- test/examples/status-page/crd.yaml | 2 +- test/jmeter/executor-tests/crd/smoke.yaml | 12 ++++++------ ...r-executor-smoke-correct-url-failed-assertion.jmx | 2 +- .../jmeter-executor-smoke-env-and-property.jmx | 10 +++++----- test/special-cases/edge-cases-expected-fails.yaml | 4 ++-- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/test/examples/status-page/crd.yaml b/test/examples/status-page/crd.yaml index b5760108a8e..05eb2425d57 100644 --- a/test/examples/status-page/crd.yaml +++ b/test/examples/status-page/crd.yaml @@ -32,7 +32,7 @@ spec: memory: 32Mi steps: - name: Run tests - shell: curl -f -LI https://docs.testkube.io + shell: curl -f -LI https://testkube-test-page-lipsum.pages.dev/ --- apiVersion: testworkflows.testkube.io/v1 kind: TestWorkflow diff --git a/test/jmeter/executor-tests/crd/smoke.yaml b/test/jmeter/executor-tests/crd/smoke.yaml index f656063dd6f..051223226e0 100644 --- a/test/jmeter/executor-tests/crd/smoke.yaml +++ b/test/jmeter/executor-tests/crd/smoke.yaml @@ -57,10 +57,10 @@ spec: variables: URL_ENV: name: URL_ENV - value: "testkube.io" + value: "testkube-test-page-lipsum.pages.dev" type: basic args: - - "-JURL_PROPERTY=testkube.io" + - "-JURL_PROPERTY=testkube-test-page-lipsum.pages.dev" jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" activeDeadlineSeconds: 180 --- @@ -194,10 +194,10 @@ spec: variables: URL_ENV: name: URL_ENV - value: "testkube.io" + value: "testkube-test-page-lipsum.pages.dev" type: basic args: - - "-JURL_PROPERTY=testkube.io" + - "-JURL_PROPERTY=testkube-test-page-lipsum.pages.dev" jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" activeDeadlineSeconds: 180 --- @@ -224,13 +224,13 @@ spec: type: basic URL_ENV: name: URL_ENV - value: "testkube.io" + value: "testkube-test-page-lipsum.pages.dev" type: basic ANOTHER_CUSTOM_ENV: name: ANOTHER_CUSTOM_ENV value: "SOME_CUSTOM_ENV" type: basic args: - - "-JURL_PROPERTY=testkube.io" + - "-JURL_PROPERTY=testkube-test-page-lipsum.pages.dev" jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n" activeDeadlineSeconds: 180 diff --git a/test/jmeter/executor-tests/jmeter-executor-smoke-correct-url-failed-assertion.jmx b/test/jmeter/executor-tests/jmeter-executor-smoke-correct-url-failed-assertion.jmx index c7823bc7839..9ae525b8ca2 100644 --- a/test/jmeter/executor-tests/jmeter-executor-smoke-correct-url-failed-assertion.jmx +++ b/test/jmeter/executor-tests/jmeter-executor-smoke-correct-url-failed-assertion.jmx @@ -25,7 +25,7 @@ - testkube.io + testkube-test-page-lipsum.pages.dev GET true true diff --git a/test/jmeter/executor-tests/jmeter-executor-smoke-env-and-property.jmx b/test/jmeter/executor-tests/jmeter-executor-smoke-env-and-property.jmx index 014fca4e8ec..8e7f6930547 100644 --- a/test/jmeter/executor-tests/jmeter-executor-smoke-env-and-property.jmx +++ b/test/jmeter/executor-tests/jmeter-executor-smoke-env-and-property.jmx @@ -46,7 +46,7 @@ - testkube.io + testkube-test-page-lipsum.pages.dev @@ -67,11 +67,11 @@ true println("Property and ENV Test") -if(vars.get("url_property") != "testkube.io") { - println("Incorrect property - url_property should equal \"testkube.io\"") +if(vars.get("url_property") != "testkube-test-page-lipsum.pages.dev") { + println("Incorrect property - url_property should equal \"testkube-test-page-lipsum.pages.dev\"") System.exit(1); -} else if(vars.get("url_env") != "testkube.io") { - println("Incorrect ENV - url_property should equal \"testkube.io\"") +} else if(vars.get("url_env") != "testkube-test-page-lipsum.pages.dev") { + println("Incorrect ENV - url_property should equal \"testkube-test-page-lipsum.pages.dev\"") System.exit(1); } else { println("OK") diff --git a/test/special-cases/edge-cases-expected-fails.yaml b/test/special-cases/edge-cases-expected-fails.yaml index a93f85d3fcb..a1cdc3c2b32 100644 --- a/test/special-cases/edge-cases-expected-fails.yaml +++ b/test/special-cases/edge-cases-expected-fails.yaml @@ -168,7 +168,7 @@ spec: variables: URL_ENV: name: expected-fail-URL_ENV - value: "testkube.io" + value: testkube-test-page-lipsum.pages.dev" type: basic args: - "-JURL_PROPERTY=testkube-test-page-lipsum.pages.dev" @@ -192,7 +192,7 @@ spec: variables: URL_ENV: name: expected-fail-URL_ENV - value: "testkube.io" + value: "testkube-test-page-lipsum.pages.dev" type: basic args: - "-JURL_PROPERTY=testkube-test-page-lipsum.pages.dev"