From eadba71cb4d059f909664492f2aaa8310740940d Mon Sep 17 00:00:00 2001 From: VaniHaripriya Date: Tue, 7 Jan 2025 11:29:42 -0600 Subject: [PATCH] Update test --- tests/pipeline_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pipeline_test.go b/tests/pipeline_test.go index 74a9bd31b..8306f937a 100644 --- a/tests/pipeline_test.go +++ b/tests/pipeline_test.go @@ -80,7 +80,7 @@ func (suite *IntegrationTestSuite) TestAPIServerDeployment() { expectedDisplayName := "[Instructlab] Multi-Phase Training Pipeline" // Retrieve pipelines - pipelines, err := RetrievePipelines(t, httpClient, apiServerURL) + pipelines, err := RetrievePipelines(t, suite.Clientmgr.httpClient, APIServerURL) require.NoError(t, err, "Failed to retrieve pipelines") found := false @@ -90,7 +90,7 @@ func (suite *IntegrationTestSuite) TestAPIServerDeployment() { break } } - if suite.DSPA.Spec.APIServer.EnableInstructlabPipeline { + if suite.DSPA.Spec.APIServer.EnableInstructLabPipeline { expectedCount := 4 assert.Equal(t, expectedCount, len(pipelines.Pipelines), "Pipeline count should match when Instructlab is enabled") assert.True(t, found, "Instructlab pipeline should exist when the flag is enabled")