Closed knrt10 closed 3 years ago
@invidian do we want package tests or e2e test?
I suggest adding:
diff --git a/pkg/components/prometheus-operator/component_test.go b/pkg/components/prometheus-operator/component_test.go
index 93c2911a..c161b7d9 100644
--- a/pkg/components/prometheus-operator/component_test.go
+++ b/pkg/components/prometheus-operator/component_test.go
@@ -24,6 +24,8 @@ import (
//nolint:funlen
func TestRenderManifest(t *testing.T) {
+ t.Parallel()
+
tests := []struct {
desc string
hcl string
@@ -143,6 +145,8 @@ component "prometheus-operator" {
for _, tc := range tests {
tc := tc
t.Run(tc.desc, func(t *testing.T) {
+ t.Parallel()
+
b, d := util.GetComponentBody(tc.hcl, Name)
if d != nil {
t.Fatalf("error getting component body: %v", d)
@@ -177,6 +181,8 @@ component "prometheus-operator" {
//nolint:funlen
func TestConversion(t *testing.T) {
+ t.Parallel()
+
testCases := []struct {
name string
inputConfig string
This cuts down test execution time from 14 seconds to 4 seconds on my machine. Still slow, but better.
@invidian I think you said Looks OK and submitted it via request changes. So had to request again smile
I only commented, not requested changes :) Changes looks good to me, but I think some other maintainer should have a look into it and approve it for merging.
@invidian I think you said Looks OK and submitted it via request changes. So had to request again 😄
@knrt10 can you rebase on the current master the ARM issue will be solved.
AWS is still failing on certificate rotation part.
finally, yes
Add user-configurable tolerations for prometheus operator and it's components.
Change configuration for alertmanager. Now it is configured in a different block
closes: #1527 Signed-off-by: knrt10 kautilya@kinvolk.io
Release notes
Alert manager is not configured as a different block
Operator is also now configured as a new block