-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify some tests and improve the reliability of others (#2389)
* Release Jaeger Operator 1.52.0 Signed-off-by: Israel Blancas <[email protected]> * Fix bundle Signed-off-by: Israel Blancas <[email protected]> * Simplify the tests related to the streaming strategy Signed-off-by: Israel Blancas <[email protected]> * Remove test. It doesn't bring real value Signed-off-by: Israel Blancas <[email protected]> * Simplify the daemonset tests Signed-off-by: Israel Blancas <[email protected]> * Fix field Signed-off-by: Israel Blancas <[email protected]> * Fix field Signed-off-by: Israel Blancas <[email protected]> * Fix field Signed-off-by: Israel Blancas <[email protected]> * Fix CI Signed-off-by: Israel Blancas <[email protected]> --------- Signed-off-by: Israel Blancas <[email protected]>
- Loading branch information
Showing
19 changed files
with
67 additions
and
158 deletions.
There are no files selected for viewing
16 changes: 0 additions & 16 deletions
16
tests/e2e/elasticsearch/es-streaming-autoprovisioned/00-install.yaml
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
tests/e2e/elasticsearch/es-streaming-autoprovisioned/03-assert.yaml
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
tests/e2e/elasticsearch/es-streaming-autoprovisioned/README.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...xamples-agent-as-daemonset/01-assert.yaml → ...xamples-agent-as-daemonset/03-assert.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
apiVersion: apps/v1 | ||
kind: DaemonSet | ||
metadata: | ||
metadata: | ||
name: agent-as-daemonset-agent-daemonset | ||
status: | ||
numberReady: 1 |
10 changes: 10 additions & 0 deletions
10
tests/e2e/examples/examples-agent-with-priority-class/01-add-policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Add service account to user | ||
apiVersion: kuttl.dev/v1beta1 | ||
kind: TestStep | ||
commands: | ||
- script: "oc adm policy --namespace $NAMESPACE add-scc-to-user daemonset-with-hostport -z jaeger-agent-daemonset" | ||
# Sometimes, the previous command needs some time to take effect. If we create | ||
# the Jaeger deployment before the command takes effect, the Jaeger instance | ||
# is not deployed. There is not a way to verify it is there except wait some | ||
# seconds | ||
- script: "sleep 5" |
7 changes: 0 additions & 7 deletions
7
tests/e2e/examples/examples-openshift-agent-as-daemonset/README.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
tests/e2e/miscellaneous/collector-autoscale/02-wait-for-hpa.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
tests/e2e/miscellaneous/collector-autoscale/wait-for-hpa.sh
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
26 changes: 21 additions & 5 deletions
26
tests/e2e/streaming/streaming-with-autoprovisioning-autoscale/07-assert.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
# Assert the ingester scaled | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
apiVersion: autoscaling/v2 | ||
kind: HorizontalPodAutoscaler | ||
metadata: | ||
name: auto-provisioned-collector | ||
spec: | ||
maxReplicas: 100 | ||
minReplicas: 1 | ||
scaleTargetRef: | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
name: auto-provisioned-collector | ||
--- | ||
apiVersion: autoscaling/v2 | ||
kind: HorizontalPodAutoscaler | ||
metadata: | ||
name: auto-provisioned-ingester | ||
status: | ||
readyReplicas: 2 | ||
spec: | ||
maxReplicas: 2 | ||
minReplicas: 1 | ||
scaleTargetRef: | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
name: auto-provisioned-ingester |
12 changes: 12 additions & 0 deletions
12
tests/e2e/streaming/streaming-with-autoprovisioning-autoscale/08-assert.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: autoscaling/v1 | ||
kind: HorizontalPodAutoscaler | ||
metadata: | ||
name: auto-provisioned-ingester | ||
spec: | ||
maxReplicas: 2 | ||
minReplicas: 1 | ||
scaleTargetRef: | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
name: auto-provisioned-ingester | ||
targetCPUUtilizationPercentage: 90 |