From 4bc9a42faac32c01db6e1ea1e02c0ad3821f934c Mon Sep 17 00:00:00 2001 From: Mike Petersen Date: Tue, 7 Jul 2020 14:13:47 -0700 Subject: [PATCH] Fixed the error message for min/max scale tests (#919) * Fixed the error message for min/max scale tests * Updated in update_test.go as well --- pkg/kn/commands/service/create_test.go | 2 +- pkg/kn/commands/service/update_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kn/commands/service/create_test.go b/pkg/kn/commands/service/create_test.go index d31ec821c..f056267c5 100644 --- a/pkg/kn/commands/service/create_test.go +++ b/pkg/kn/commands/service/create_test.go @@ -540,7 +540,7 @@ func TestServiceCreateMaxMinScale(t *testing.T) { } if *template.Spec.ContainerConcurrency != int64(100) { - t.Fatalf("container concurrency not set to given value 1000") + t.Fatalf("container concurrency not set to given value 100") } } diff --git a/pkg/kn/commands/service/update_test.go b/pkg/kn/commands/service/update_test.go index 6b7ee0271..832fb0ee7 100644 --- a/pkg/kn/commands/service/update_test.go +++ b/pkg/kn/commands/service/update_test.go @@ -350,7 +350,7 @@ func TestServiceUpdateMaxMinScale(t *testing.T) { } if *template.Spec.ContainerConcurrency != int64(100) { - t.Fatalf("container concurrency not set to given value 1000") + t.Fatalf("container concurrency not set to given value 100") } }