Skip to content

Commit

Permalink
chore(test): we now expect an error
Browse files Browse the repository at this point in the history
  • Loading branch information
philwinder committed Sep 20, 2024
1 parent 910b20d commit ef274be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/pkg/runner/controller_inference_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func TestCheckForStaleModelInstances(t *testing.T) {

// Create a new model that requires more memory and Run the function
err := runner.checkForStaleModelInstances(context.Background(), m, types.SessionModeInference)
assert.NoError(t, err)
assert.Error(t, err)

// Print all schedulingDecisions
fmt.Println(runner.schedulingDecisions)
Expand Down

0 comments on commit ef274be

Please sign in to comment.