diff --git a/packages/manager/src/mocks/serverHandlers.ts b/packages/manager/src/mocks/serverHandlers.ts index 827368a93d0..4d60742ee4c 100644 --- a/packages/manager/src/mocks/serverHandlers.ts +++ b/packages/manager/src/mocks/serverHandlers.ts @@ -417,13 +417,13 @@ const aglb = [ const vpc = [ rest.get('*/vpcs', (req, res, ctx) => { const vpcsWithSubnet1 = vpcFactory.buildList(5, { - subnets: subnetFactory.buildList(Math.floor(Math.random() * 10) + 1), + subnets: subnetFactory.buildList(Math.floor(Math.random() * 5) + 1), }); const vpcsWithSubnet2 = vpcFactory.buildList(5, { region: 'eu-west', - subnets: subnetFactory.buildList(Math.floor(Math.random() * 20) + 1), + subnets: subnetFactory.buildList(Math.floor(Math.random() * 5) + 1), }); - const vpcsWithoutSubnet = vpcFactory.buildList(20); + const vpcsWithoutSubnet = vpcFactory.buildList(10); return res( ctx.json( makeResourcePage([ @@ -439,13 +439,13 @@ const vpc = [ ctx.json( vpcFactory.build({ description: `VPC for webserver and database. VPC for webserver and database. VPC for webserver and database. VPC for webserver and database. VPC for webserver VPC for webserver VPC for webserver VPC for webserver VPC for webserver.VPC for webserver and database!!! VPC`, - subnets: subnetFactory.buildList(Math.floor(Math.random() * 10) + 1), + subnets: subnetFactory.buildList(Math.floor(Math.random() * 5) + 1), }) ) ); }), rest.get('*/vpcs/:vpcId/subnets', (req, res, ctx) => { - return res(ctx.json(makeResourcePage(subnetFactory.buildList(30)))); + return res(ctx.json(makeResourcePage(subnetFactory.buildList(5)))); }), rest.delete('*/vpcs/:vpcId/subnets/:subnetId', (req, res, ctx) => { return res(ctx.json({}));