From 01e9658a08f01cdbe3947d912191ad77f2850936 Mon Sep 17 00:00:00 2001 From: zyy17 Date: Fri, 20 Sep 2024 14:46:44 +0800 Subject: [PATCH] ci: add TestClusterStandaloneWAL --- tests/e2e/greptimedbcluster_test.go | 4 ++++ .../testdata/resources/cluster/standalone-wal/cluster.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tests/e2e/greptimedbcluster_test.go b/tests/e2e/greptimedbcluster_test.go index b6bbab09..22e186ac 100644 --- a/tests/e2e/greptimedbcluster_test.go +++ b/tests/e2e/greptimedbcluster_test.go @@ -48,4 +48,8 @@ var _ = Describe("Test GreptimeDBCluster", func() { It("Test scaling a cluster up and down", func() { greptimedbcluster.TestScaleCluster(ctx, h) }) + + It("Test a cluster with standalone WAL", func() { + greptimedbcluster.TestClusterStandaloneWAL(ctx, h) + }) }) diff --git a/tests/e2e/testdata/resources/cluster/standalone-wal/cluster.yaml b/tests/e2e/testdata/resources/cluster/standalone-wal/cluster.yaml index bdbc167b..4b67ce7a 100644 --- a/tests/e2e/testdata/resources/cluster/standalone-wal/cluster.yaml +++ b/tests/e2e/testdata/resources/cluster/standalone-wal/cluster.yaml @@ -15,6 +15,10 @@ spec: - "etcd.etcd-cluster:2379" datanode: replicas: 1 + httpPort: 4000 + rpcPort: 4001 + mysqlPort: 4002 + postgreSQLPort: 4003 wal: raftEngine: fs: