From b3df686a373f80ac5c4cc78a0b762b840c700342 Mon Sep 17 00:00:00 2001 From: lorenz <stu203404@mail.uni-kiel.de> Date: Mon, 5 Sep 2022 14:09:40 +0200 Subject: [PATCH] Fix broken test --- .../NumSensorsVariableLoadGeneratorReplicaPatcherTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/theodolite/src/test/kotlin/rocks/theodolite/kubernetes/patcher/NumSensorsVariableLoadGeneratorReplicaPatcherTest.kt b/theodolite/src/test/kotlin/rocks/theodolite/kubernetes/patcher/NumSensorsVariableLoadGeneratorReplicaPatcherTest.kt index e71f767a9..e7fe77e7c 100644 --- a/theodolite/src/test/kotlin/rocks/theodolite/kubernetes/patcher/NumSensorsVariableLoadGeneratorReplicaPatcherTest.kt +++ b/theodolite/src/test/kotlin/rocks/theodolite/kubernetes/patcher/NumSensorsVariableLoadGeneratorReplicaPatcherTest.kt @@ -38,8 +38,8 @@ class NumSensorsVariableLoadGeneratorReplicaPatcherTest : AbstractPatcherTest() @Test fun testOne() { - patcher = NumSensorsVariableLoadGeneratorReplicaPatcher("35000","3","1") - value = "180000" + patcher = NumSensorsVariableLoadGeneratorReplicaPatcher("100000","2","1") + value = "30000" patch() resource.forEach { assertEquals(1, (it as Deployment).spec.replicas ) @@ -52,7 +52,7 @@ class NumSensorsVariableLoadGeneratorReplicaPatcherTest : AbstractPatcherTest() value = "75000" patch() resource.forEach { - assertEquals(1, (it as Deployment).spec.replicas ) + assertEquals(3, (it as Deployment).spec.replicas ) } } } \ No newline at end of file -- GitLab