Skip to content

Commit

Permalink
fixed unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Rammer <[email protected]>
  • Loading branch information
hamersaw committed Apr 23, 2024
1 parent 6e90230 commit ceae142
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions flytepropeller/pkg/controller/nodes/array/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit ceae142

Please sign in to comment.