Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Rammer <[email protected]>
hamersaw committed Apr 23, 2024

Verified

This commit was signed with the committer’s verified signature.
frzyc frzyc
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
@@ -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,

0 comments on commit ceae142

Please sign in to comment.