From ceae1422eae168b017e821815093e3d930869c67 Mon Sep 17 00:00:00 2001 From: Daniel Rammer Date: Tue, 23 Apr 2024 15:46:21 -0500 Subject: [PATCH] fixed unit tests Signed-off-by: Daniel Rammer --- .../pkg/controller/nodes/array/utils_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/flytepropeller/pkg/controller/nodes/array/utils_test.go b/flytepropeller/pkg/controller/nodes/array/utils_test.go index 388783b0dc..2b2c030cd6 100644 --- a/flytepropeller/pkg/controller/nodes/array/utils_test.go +++ b/flytepropeller/pkg/controller/nodes/array/utils_test.go @@ -60,9 +60,9 @@ func TestInferParallelism(t *testing.T) { expectedMaxParallelism: 2, }, { - name: "NilParallelismConfiguredBehavior", + name: "NilParallelismHybridBehavior", parallelism: nil, - parallelismBehavior: "configured", + parallelismBehavior: "hybrid", remainingParallelism: 2, arrayNodeSize: 3, expectedIncrement: true, @@ -87,9 +87,9 @@ func TestInferParallelism(t *testing.T) { expectedMaxParallelism: 2, }, { - name: "ZeroParallelismConfiguredBehavior", + name: "ZeroParallelismHybridBehavior", parallelism: &zero, - parallelismBehavior: "configured", + parallelismBehavior: "hybrid", remainingParallelism: 2, arrayNodeSize: 3, expectedIncrement: false, @@ -114,9 +114,9 @@ func TestInferParallelism(t *testing.T) { expectedMaxParallelism: 1, }, { - name: "OneParallelismConfiguredBehavior", + name: "OneParallelismHybridBehavior", parallelism: &one, - parallelismBehavior: "configured", + parallelismBehavior: "hybrid", remainingParallelism: 2, arrayNodeSize: 3, expectedIncrement: false,