@@ -15,7 +15,7 @@ limitations under the License.
15
15
*/
16
16
17
17
// Package conformance contains the core setup and execution logic
18
- // for the Gateway API Inference ExtensionRef conformance test suite.
18
+ // for the Gateway API Inference Extension conformance test suite.
19
19
package conformance
20
20
21
21
import (
@@ -54,7 +54,7 @@ import (
54
54
)
55
55
56
56
// GatewayLayerProfileName defines the name for the conformance profile that tests
57
- // the Gateway API layer aspects of the Inference ExtensionRef (e.g., InferencePool, InferenceObjective CRDs).
57
+ // the Gateway API layer aspects of the Inference Extension (e.g., InferencePool, InferenceObjective CRDs).
58
58
// Future profiles will cover EPP and ModelServer layers.
59
59
const GatewayLayerProfileName confsuite.ConformanceProfileName = "Gateway"
60
60
@@ -66,7 +66,7 @@ const GatewayLayerProfileName confsuite.ConformanceProfileName = "Gateway"
66
66
const SupportInferencePool features.FeatureName = "SupportInferencePool"
67
67
68
68
// InferenceCoreFeatures defines the core features that implementations
69
- // of the "Gateway" profile for the Inference ExtensionRef MUST support.
69
+ // of the "Gateway" profile for the Inference Extension MUST support.
70
70
var InferenceCoreFeatures = sets .New (
71
71
features .SupportGateway , // This is needed to ensure manifest gets applied during setup.
72
72
features .SupportHTTPRoute ,
@@ -104,7 +104,7 @@ func DefaultOptions(t *testing.T) confsuite.ConformanceOptions {
104
104
// Add APIExtensions types (for CRDs)
105
105
require .NoError (t , apiextensionsv1 .AddToScheme (scheme ), "failed to add apiextensionsv1 types to scheme" )
106
106
107
- // Register Inference ExtensionRef API types
107
+ // Register Inference Extension API types
108
108
t .Logf ("Attempting to install inferencev1alpha2 types into scheme from package: %s" , inferencev1alpha2 .GroupName )
109
109
require .NoError (t , inferencev1alpha2 .Install (scheme ), "failed to install inferencev1alpha2 types into scheme" )
110
110
t .Logf ("Attempting to install inferencev1 types into scheme from package: %s" , inferencev1 .GroupName )
@@ -134,7 +134,7 @@ func DefaultOptions(t *testing.T) confsuite.ConformanceOptions {
134
134
* confflags .ImplementationContact ,
135
135
)
136
136
137
- // Inference ExtensionRef Specific Report Fields
137
+ // Inference Extension Specific Report Fields
138
138
inferenceExtensionVersion := "v0.3.0"
139
139
_ = inferenceExtensionVersion // Avoid unused variable error until implemented
140
140
@@ -189,15 +189,15 @@ func DefaultOptions(t *testing.T) confsuite.ConformanceOptions {
189
189
return opts
190
190
}
191
191
192
- // RunConformance runs the Inference ExtensionRef conformance tests using default options.
192
+ // RunConformance runs the Inference Extension conformance tests using default options.
193
193
func RunConformance (t * testing.T ) {
194
194
RunConformanceWithOptions (t , DefaultOptions (t ))
195
195
}
196
196
197
- // RunConformanceWithOptions runs the Inference ExtensionRef conformance tests with specific options.
197
+ // RunConformanceWithOptions runs the Inference Extension conformance tests with specific options.
198
198
func RunConformanceWithOptions (t * testing.T , opts confsuite.ConformanceOptions ) {
199
199
t .Helper ()
200
- t .Logf ("Running Inference ExtensionRef conformance tests with GatewayClass %s" , opts .GatewayClassName )
200
+ t .Logf ("Running Inference Extension conformance tests with GatewayClass %s" , opts .GatewayClassName )
201
201
logDebugf (t , opts .Debug , "RunConformanceWithOptions: BaseManifests path being used by opts: %q" , opts .BaseManifests )
202
202
203
203
// Register the GatewayLayerProfile with the suite runner.
@@ -211,13 +211,13 @@ func RunConformanceWithOptions(t *testing.T, opts confsuite.ConformanceOptions)
211
211
212
212
SetupConformanceTestSuite (t , cSuite , opts , tests .ConformanceTests )
213
213
214
- t .Log ("Running Inference ExtensionRef conformance tests against all registered tests" )
214
+ t .Log ("Running Inference Extension conformance tests against all registered tests" )
215
215
err = cSuite .Run (t , tests .ConformanceTests )
216
216
require .NoError (t , err , "error running conformance tests" )
217
217
218
218
// Generate and write the report if requested.
219
219
if opts .ReportOutputPath != "" {
220
- t .Log ("Generating Inference ExtensionRef conformance report" )
220
+ t .Log ("Generating Inference Extension conformance report" )
221
221
report , err := cSuite .Report () // Use the existing report generation logic.
222
222
require .NoError (t , err , "error generating conformance report" )
223
223
inferenceReport := GatewayAPIInferenceExtensionConformanceReport {
0 commit comments