Skip to content

Commit 1a2a7d0

Browse files
committed
Add istio darwin-arm64 support distribution to fix fetch supported test
Signed-off-by: [email protected] <[email protected]>
1 parent c4ecad2 commit 1a2a7d0

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

internal/istioctl/istioctl_test.go

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,16 @@ func TestFetch(t *testing.T) {
377377
defer os.RemoveAll(dir)
378378
ms := &manifest.Manifest{
379379
IstioDistributions: []*manifest.IstioDistribution{
380+
{
381+
Version: "1.10.3",
382+
Flavor: manifest.IstioDistributionFlavorTetrate,
383+
FlavorVersion: 0,
384+
},
385+
{
386+
Version: "1.10.3",
387+
Flavor: manifest.IstioDistributionFlavorTetrateFIPS,
388+
FlavorVersion: 0,
389+
},
380390
{
381391
Version: "1.7.6",
382392
Flavor: manifest.IstioDistributionFlavorTetrate,
@@ -407,8 +417,8 @@ func TestFetch(t *testing.T) {
407417

408418
t.Run("supported", func(t *testing.T) {
409419
for _, c := range []*manifest.IstioDistribution{
410-
{Version: "1.7.5", Flavor: manifest.IstioDistributionFlavorTetrate, FlavorVersion: 0},
411-
{Version: "1.7.6", Flavor: manifest.IstioDistributionFlavorTetrate, FlavorVersion: 0},
420+
{Version: "1.10.3", Flavor: manifest.IstioDistributionFlavorTetrate, FlavorVersion: 0},
421+
{Version: "1.10.3", Flavor: manifest.IstioDistributionFlavorTetrateFIPS, FlavorVersion: 0},
412422
} {
413423
require.Error(t, checkExist(dir, c))
414424
err = Fetch(dir, c, ms)

0 commit comments

Comments
 (0)