forked from apecloud/kubeblocks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add e2e test cases (apecloud#5347)
- Loading branch information
1 parent
fa61360
commit 6c41eea
Showing
77 changed files
with
307 additions
and
141 deletions.
There are no files selected for viewing
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
2 changes: 1 addition & 1 deletion
2
...testdata/smoketest/etcd/05_hscale_up.yaml → ...estdata/smoketest/etcd/05_hscale_out.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
2 changes: 1 addition & 1 deletion
2
...stdata/smoketest/etcd/06_hscale_down.yaml → ...testdata/smoketest/etcd/06_hscale_in.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
2 changes: 1 addition & 1 deletion
2
...tdata/smoketest/foxlake/06_hscale_up.yaml → ...data/smoketest/foxlake/06_hscale_out.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
2 changes: 1 addition & 1 deletion
2
...ata/smoketest/foxlake/07_hscale_down.yaml → ...tdata/smoketest/foxlake/07_hscale_in.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
2 changes: 1 addition & 1 deletion
2
...ta/smoketest/greptimedb/06_hscale_up.yaml → ...ta/smoketest/greptimedb/06_hscale_in.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
2 changes: 1 addition & 1 deletion
2
.../smoketest/greptimedb/07_hscale_down.yaml → ...a/smoketest/greptimedb/07_hscale_out.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
2 changes: 1 addition & 1 deletion
2
...estdata/smoketest/kafka/05_hscale_up.yaml → ...stdata/smoketest/kafka/05_hscale_out.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
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,18 @@ | ||
apiVersion: apps.kubeblocks.io/v1alpha1 | ||
kind: OpsRequest | ||
metadata: | ||
generateName: kafka-cluster-reconfiguring- | ||
spec: | ||
clusterRef: kafka-cluster | ||
reconfigure: | ||
componentName: broker | ||
configurations: | ||
- keys: | ||
- key: kafka-configuration-tpl | ||
parameters: | ||
- key: MaxRAMPercentage | ||
value: "200" | ||
- key: MaxGCPauseMillis | ||
value: "30" | ||
name: mysql-consensusset-config | ||
type: Reconfiguring |
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 @@ | ||
apiVersion: apps.kubeblocks.io/v1alpha1 | ||
kind: OpsRequest | ||
metadata: | ||
generateName: mongodb-cluster-hscale-out- | ||
spec: | ||
clusterRef: mongodb-cluster | ||
type: HorizontalScaling | ||
horizontalScaling: | ||
- componentName: mongodb | ||
replicas: 3 |
8 changes: 4 additions & 4 deletions
8
...tdata/smoketest/kafka/06_hscale_down.yaml → ...tdata/smoketest/mongodb/07_hscale_in.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,10 +1,10 @@ | ||
apiVersion: apps.kubeblocks.io/v1alpha1 | ||
kind: OpsRequest | ||
metadata: | ||
generateName: kafka-cluster-hscale-down- | ||
generateName: mongodb-cluster-hscale-in- | ||
spec: | ||
clusterRef: kafka-cluster | ||
clusterRef: mongodb-cluster | ||
type: HorizontalScaling | ||
horizontalScaling: | ||
- componentName: broker | ||
replicas: 2 | ||
- componentName: mongodb | ||
replicas: 1 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...stdata/smoketest/nebula/06_hscale_up.yaml → ...tdata/smoketest/nebula/06_hscale_out.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
2 changes: 1 addition & 1 deletion
2
...data/smoketest/nebula/07_hscale_down.yaml → ...stdata/smoketest/nebula/07_hscale_in.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
2 changes: 1 addition & 1 deletion
2
...ata/smoketest/oceanbase/06_hscale_up.yaml → ...ta/smoketest/oceanbase/06_hscale_out.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
2 changes: 1 addition & 1 deletion
2
...a/smoketest/oceanbase/07_hscale_down.yaml → ...ata/smoketest/oceanbase/07_hscale_in.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
2 changes: 1 addition & 1 deletion
2
...est/official-postgresql/06_hscale_up.yaml → ...st/official-postgresql/06_hscale_out.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
2 changes: 1 addition & 1 deletion
2
...t/official-postgresql/07_hscale_down.yaml → ...est/official-postgresql/07_hscale_in.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
2 changes: 1 addition & 1 deletion
2
...data/smoketest/openldap/05_hscale_up.yaml → ...ata/smoketest/openldap/05_hscale_out.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
2 changes: 1 addition & 1 deletion
2
...ta/smoketest/openldap/06_hscale_down.yaml → ...data/smoketest/openldap/06_hscale_in.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
2 changes: 1 addition & 1 deletion
2
...stdata/smoketest/oracle/06_hscale_up.yaml → ...tdata/smoketest/oracle/06_hscale_out.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
2 changes: 1 addition & 1 deletion
2
...data/smoketest/oracle/07_hscale_down.yaml → ...stdata/smoketest/oracle/07_hscale_in.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
2 changes: 1 addition & 1 deletion
2
...data/smoketest/orioledb/06_hscale_up.yaml → ...ata/smoketest/orioledb/06_hscale_out.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
2 changes: 1 addition & 1 deletion
2
...ta/smoketest/orioledb/07_hscale_down.yaml → ...data/smoketest/orioledb/07_hscale_in.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
2 changes: 1 addition & 1 deletion
2
...ta/smoketest/postgresql/05_hscale_up.yaml → ...a/smoketest/postgresql/05_hscale_out.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
2 changes: 1 addition & 1 deletion
2
.../smoketest/postgresql/06_hscale_down.yaml → ...ta/smoketest/postgresql/06_hscale_in.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
18 changes: 18 additions & 0 deletions
18
test/e2e/testdata/smoketest/postgresql/10_reconfigure.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,18 @@ | ||
apiVersion: apps.kubeblocks.io/v1alpha1 | ||
kind: OpsRequest | ||
metadata: | ||
generateName: pg-cluster-reconfiguring- | ||
spec: | ||
clusterRef: pg-cluster | ||
reconfigure: | ||
componentName: postgresql | ||
configurations: | ||
- keys: | ||
- key: postgresql.conf | ||
parameters: | ||
- key: max_connections | ||
value: "60" | ||
- key: checkpoint_timeout | ||
value: "20min" | ||
name: postgresql-configuration | ||
type: Reconfiguring |
File renamed without changes.
File renamed without changes.
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 @@ | ||
apiVersion: apps.kubeblocks.io/v1alpha1 | ||
kind: OpsRequest | ||
metadata: | ||
generateName: pulsar-cluster-stop- | ||
spec: | ||
clusterRef: pulsar-cluster | ||
ttlSecondsAfterSucceed: 3600 | ||
type: Stop | ||
restart: | ||
- componentName: bookies |
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 @@ | ||
apiVersion: apps.kubeblocks.io/v1alpha1 | ||
kind: OpsRequest | ||
metadata: | ||
generateName: pulsar-cluster-start- | ||
spec: | ||
clusterRef: pulsar-cluster | ||
ttlSecondsAfterSucceed: 3600 | ||
type: Start | ||
restart: | ||
- componentName: bookies |
4 changes: 2 additions & 2 deletions
4
...ta/smoketest/pulsar/01_restart_proxy.yaml → .../smoketest/pulsar/03_restart_bookies.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,10 +1,10 @@ | ||
apiVersion: apps.kubeblocks.io/v1alpha1 | ||
kind: OpsRequest | ||
metadata: | ||
generateName: pulsar-cluster-restart-proxy- | ||
generateName: pulsar-cluster-restart-bookies- | ||
spec: | ||
clusterRef: pulsar-cluster | ||
ttlSecondsAfterSucceed: 3600 | ||
type: Restart | ||
restart: | ||
- componentName: proxy | ||
- componentName: bookies |
2 changes: 0 additions & 2 deletions
2
...a/smoketest/pulsar/02_restart_broker.yaml → ...a/smoketest/pulsar/04_restart_broker.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,5 +1,3 @@ | ||
03_restart_zookeeper: | ||
yaml: | ||
apiVersion: apps.kubeblocks.io/v1alpha1 | ||
kind: OpsRequest | ||
metadata: | ||
|
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 @@ | ||
apiVersion: apps.kubeblocks.io/v1alpha1 | ||
kind: OpsRequest | ||
metadata: | ||
generateName: pulsar-cluster-stop- | ||
spec: | ||
clusterRef: pulsar-cluster | ||
ttlSecondsAfterSucceed: 3600 | ||
type: Stop | ||
restart: | ||
- componentName: broker |
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 @@ | ||
apiVersion: apps.kubeblocks.io/v1alpha1 | ||
kind: OpsRequest | ||
metadata: | ||
generateName: pulsar-cluster-start- | ||
spec: | ||
clusterRef: pulsar-cluster | ||
ttlSecondsAfterSucceed: 3600 | ||
type: Start | ||
restart: | ||
- componentName: broker |
File renamed without changes.
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 @@ | ||
apiVersion: apps.kubeblocks.io/v1alpha1 | ||
kind: OpsRequest | ||
metadata: | ||
generateName: pulsar-cluster-stop- | ||
spec: | ||
clusterRef: pulsar-cluster | ||
ttlSecondsAfterSucceed: 3600 | ||
type: Stop | ||
restart: | ||
- componentName: zookeeper |
10 changes: 10 additions & 0 deletions
10
test/e2e/testdata/smoketest/pulsar/09_start_zookeeper.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 @@ | ||
apiVersion: apps.kubeblocks.io/v1alpha1 | ||
kind: OpsRequest | ||
metadata: | ||
generateName: pulsar-cluster-start- | ||
spec: | ||
clusterRef: pulsar-cluster | ||
ttlSecondsAfterSucceed: 3600 | ||
type: Start | ||
restart: | ||
- componentName: zookeeper |
2 changes: 1 addition & 1 deletion
2
...stdata/smoketest/pulsar/04_hscale_up.yaml → ...tdata/smoketest/pulsar/10_hscale_out.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
2 changes: 1 addition & 1 deletion
2
...data/smoketest/pulsar/05_hscale_down.yaml → ...stdata/smoketest/pulsar/11_hscale_in.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
File renamed without changes.
Oops, something went wrong.