From 3768d8a9a3718d982a38f760e5bde45cc786e747 Mon Sep 17 00:00:00 2001 From: Shyam Jeedigunta Date: Mon, 18 Jun 2018 14:59:45 +0200 Subject: [PATCH] Half the no. of endpoints in load test --- test/e2e/scalability/load.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/e2e/scalability/load.go b/test/e2e/scalability/load.go index 5dadeed360f..7cfe4b68e48 100644 --- a/test/e2e/scalability/load.go +++ b/test/e2e/scalability/load.go @@ -535,8 +535,11 @@ func GenerateConfigsForGroup( MemRequest: 26214400, // 25MB SecretNames: secretNames, ConfigMapNames: configMapNames, - // Define a label to group every 2 RCs into one service. - Labels: map[string]string{svcLabelKey: groupName + "-" + strconv.Itoa((i+1)/2)}, + } + + // Add a label to alternate RCs, to include only half of them in services. + if i%2 == 0 { + baseConfig.Labels = map[string]string{svcLabelKey: groupName + "-" + strconv.Itoa(i/2)} } if kind == randomKind {