diff --git a/import-export-cli/integration/testdata/sample-api.yaml b/import-export-cli/integration/testdata/sample-api.yaml index 07232d00..0b88ffeb 100644 --- a/import-export-cli/integration/testdata/sample-api.yaml +++ b/import-export-cli/integration/testdata/sample-api.yaml @@ -13,7 +13,7 @@ # limitations under the License. type: api # Type of the exported artifact using APICTL -version: v4.3.0 # API Manager version +version: v4.4.0 # API Manager version data: # Contains the meta data of the API id: 28114236-515c-4f40-82e4-6a016e632008 ## API UUID name: PizzaShackAPI # Name of the API without Spaces [required] diff --git a/import-export-cli/integration/testutils/operationPolicy_testUtils.go b/import-export-cli/integration/testutils/operationPolicy_testUtils.go index 865b4366..f5e80c40 100644 --- a/import-export-cli/integration/testutils/operationPolicy_testUtils.go +++ b/import-export-cli/integration/testutils/operationPolicy_testUtils.go @@ -522,10 +522,11 @@ func deleteAPIPolicy(t *testing.T, name, version string, args *PolicyImportExpor func listAPIPolicies(t *testing.T, jsonArray bool, args *PolicyImportExportTestArgs) (string, error) { var output string var err error + limit := "50" if jsonArray { - output, err = base.Execute(t, "get", "policies", "api", "-e", args.SrcAPIM.EnvName, "--format", "jsonArray", "-k", "--verbose") + output, err = base.Execute(t, "get", "policies", "api", "-e", args.SrcAPIM.EnvName, "-l", limit, "--format", "jsonArray", "-k", "--verbose") } else { - output, err = base.Execute(t, "get", "policies", "api", "-e", args.SrcAPIM.EnvName, "-k", "--verbose") + output, err = base.Execute(t, "get", "policies", "api", "-e", args.SrcAPIM.EnvName, "-l", limit, "-k", "--verbose") } return output, err }