From 8f62a8c69b1da8225db763854c121aea037bad20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Vonheiden?= <bjoern.vonheiden@hotmail.de> Date: Wed, 25 Aug 2021 10:23:05 +0200 Subject: [PATCH] fix tests because of changed execution yaml --- .../k8s-resource-files/test-execution-update.yaml | 13 +++++++------ .../k8s-resource-files/test-execution.yaml | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/theodolite/src/test/resources/k8s-resource-files/test-execution-update.yaml b/theodolite/src/test/resources/k8s-resource-files/test-execution-update.yaml index 4ef4fdc00..441493ae9 100644 --- a/theodolite/src/test/resources/k8s-resource-files/test-execution-update.yaml +++ b/theodolite/src/test/resources/k8s-resource-files/test-execution-update.yaml @@ -7,17 +7,18 @@ spec: benchmark: "uc1-kstreams-update" load: loadType: "NumSensors" - loadValues: [25000, 50000, 75000, 100000, 125000, 150000] + loadValues: [ 25000, 50000, 75000, 100000, 125000, 150000 ] resources: resourceType: "Instances" - resourceValues: [1, 2, 3, 4, 5] + resourceValues: [ 1, 2, 3, 4, 5 ] slos: - sloType: "lag trend" - threshold: 2000 prometheusUrl: "http://prometheus-operated:9090" - externalSloUrl: "http://localhost:80/evaluate-slope" offset: 0 - warmup: 60 # in seconds + properties: + threshold: 2000 + externalSloUrl: "http://localhost:80/evaluate-slope" + warmup: 60 # in seconds execution: strategy: "LinearSearch" duration: 300 # in seconds @@ -25,4 +26,4 @@ spec: loadGenerationDelay: 30 # in seconds restrictions: - "LowerBound" - configOverrides: [] + configOverrides: [ ] diff --git a/theodolite/src/test/resources/k8s-resource-files/test-execution.yaml b/theodolite/src/test/resources/k8s-resource-files/test-execution.yaml index 4d6ade6ae..cb74b70be 100644 --- a/theodolite/src/test/resources/k8s-resource-files/test-execution.yaml +++ b/theodolite/src/test/resources/k8s-resource-files/test-execution.yaml @@ -7,17 +7,18 @@ spec: benchmark: "uc1-kstreams" load: loadType: "NumSensors" - loadValues: [25000, 50000, 75000, 100000, 125000, 150000] + loadValues: [ 25000, 50000, 75000, 100000, 125000, 150000 ] resources: resourceType: "Instances" - resourceValues: [1, 2, 3, 4, 5] + resourceValues: [ 1, 2, 3, 4, 5 ] slos: - sloType: "lag trend" - threshold: 2000 prometheusUrl: "http://prometheus-operated:9090" - externalSloUrl: "http://localhost:80/evaluate-slope" offset: 0 - warmup: 60 # in seconds + properties: + threshold: 2000 + externalSloUrl: "http://localhost:80/evaluate-slope" + warmup: 60 # in seconds execution: strategy: "LinearSearch" duration: 300 # in seconds @@ -25,4 +26,4 @@ spec: loadGenerationDelay: 30 # in seconds restrictions: - "LowerBound" - configOverrides: [] + configOverrides: [ ] -- GitLab