Skip to content

Commit

Permalink
Fix runtime spec for test
Browse files Browse the repository at this point in the history
Signed-off-by: Rafael Vasquez <[email protected]>
  • Loading branch information
rafvasq committed Mar 13, 2024
1 parent ad93a4e commit 910bb0c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fvt/predictor/predictor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,11 @@ var _ = Describe("Invalid Predictors", func() {
// modify the object with an unrecognized model type
SetString(predictorObject, "invalidModelType", "spec", "modelType", "name")

// remove runtime field for Triton-FIL predictors for this test
if GetString(predictorObject, "spec", "runtime", "name") == "triton-2.x" {
SetString(predictorObject, "", "spec", "runtime", "name")
}

obj := CreatePredictorAndWaitAndExpectFailed(predictorObject)

By("Verifying the predictor")
Expand Down

0 comments on commit 910bb0c

Please sign in to comment.