Skip to content

Commit 87fe36f

Browse files
jparrillclaude
andcommitted
test(integration): update osstreams to use releaseinfo.GetRHELStream
Update integration test imports to reference GetRHELStream from support/releaseinfo instead of controllers/nodepool, fixing the dependency direction. Signed-off-by: Juan Manuel Parrilla Madrid <jparrill@redhat.com> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 49431bf commit 87fe36f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/integration/osstreams/osstreams_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import (
1313
"github.com/openshift/hypershift/support/releaseinfo"
1414
"github.com/openshift/hypershift/support/releaseinfo/fixtures"
1515

16+
1617
"github.com/coreos/stream-metadata-go/stream"
1718

1819
imagev1 "github.com/openshift/api/image/v1"
@@ -123,7 +124,7 @@ func TestOSStreamsEndToEnd(t *testing.T) {
123124
t.Run(tt.name, func(t *testing.T) {
124125
g := NewWithT(t)
125126

126-
streamName, err := nodepool.GetRHELStream(tt.explicitStream, tt.releaseVersion, tt.usesRunc)
127+
streamName, err := releaseinfo.GetRHELStream(tt.explicitStream, tt.releaseVersion, tt.usesRunc)
127128
if tt.expectError {
128129
g.Expect(err).To(HaveOccurred())
129130
return

0 commit comments

Comments
 (0)