From 543d82cdf30bed963eb1aaef9c415db78b4befe9 Mon Sep 17 00:00:00 2001 From: George Blue Date: Mon, 7 Oct 2024 10:34:14 +0100 Subject: [PATCH] chore: get unit tests working on Apple ARM processors (#1106) 3 integration tests from "terraform_rename_provider_test.go" still fail --- internal/brokerpak/reader/reader_test.go | 1 + pkg/brokerpak/cmd_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/internal/brokerpak/reader/reader_test.go b/internal/brokerpak/reader/reader_test.go index c3d5383c2..a9573dceb 100644 --- a/internal/brokerpak/reader/reader_test.go +++ b/internal/brokerpak/reader/reader_test.go @@ -189,6 +189,7 @@ func fakeBrokerpak(opts ...option) string { Platforms: []platform.Platform{ {Os: "linux", Arch: "amd64"}, {Os: "darwin", Arch: "amd64"}, + {Os: "darwin", Arch: "arm64"}, }, ServiceDefinitions: []string{"example-service-definition.yml"}, Parameters: []manifest.Parameter{ diff --git a/pkg/brokerpak/cmd_test.go b/pkg/brokerpak/cmd_test.go index 58e7506ab..e00d1c96a 100644 --- a/pkg/brokerpak/cmd_test.go +++ b/pkg/brokerpak/cmd_test.go @@ -56,6 +56,7 @@ func fakeBrokerpak() (string, error) { Platforms: []platform.Platform{ {Os: "linux", Arch: "amd64"}, {Os: "darwin", Arch: "amd64"}, + {Os: "darwin", Arch: "arm64"}, }, // These resources are stubbed with a local dummy file TerraformVersions: []manifest.TerraformVersion{