Skipper: fix the no annotation test so it makes more sense

Signed-off-by: Alexey Ermakov <alexey.ermakov@zalando.de>
This commit is contained in:
Alexey Ermakov
2019-07-30 17:50:39 +02:00
parent b2194ca136
commit ed4c93abbb

View File

@@ -192,10 +192,10 @@ func TestSkipperCollector(t *testing.T) {
collectedMetric: 1500,
namespace: "default",
backend: "backend3",
backendWeights: map[string]map[string]int{testBackendWeightsAnnotation: {"backend2": 100, "backend1": 0}},
backendWeights: map[string]map[string]int{},
replicas: 1,
readyReplicas: 1,
backendAnnotations: []string{},
backendAnnotations: []string{testBackendWeightsAnnotation},
},
{
msg: "test partial backend annotations",