Skip to content

Commit

Permalink
Fix e2e test (#658)
Browse files Browse the repository at this point in the history
* fix kuttl timeout unit to second

Signed-off-by: drivebyer <wuyangmuc@gmail.com>

* fix assert rediscluster version

Signed-off-by: drivebyer <wuyangmuc@gmail.com>

* Update readme.md

---------

Signed-off-by: drivebyer <wuyangmuc@gmail.com>
Co-authored-by: Shubham Gupta <69793468+shubham-cmyk@users.noreply.github.com>
  • Loading branch information
drivebyer and shubham-cmyk authored Oct 6, 2023
1 parent ab69ce5 commit 667ceae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/e2e/v1beta2/setup/ready-cluster.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: redis.redis.opstreelabs.in/v1beta1
apiVersion: redis.redis.opstreelabs.in/v1beta2
kind: RedisCluster
metadata:
name: redis-cluster-v1beta2
Expand Down
6 changes: 2 additions & 4 deletions tests/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,14 @@ Ensure you have the following tools installed:

## **Steps**

### **1. Set Up a 3-node Kind Cluster**

## Steps to Follow

### 1. Set Up a 3-node Kind Cluster

Create a 3-node kind cluster using the provided configuration:

```bash
kind create cluster --config /redis-operator/tests/_config/kind-example-config.yaml
kind create cluster --config /redis-operator/tests/_config/kind-config.yaml
```

### 2. Install the Redis Operator
Expand All @@ -38,5 +36,5 @@ Please refer to the repository's README for detailed instructions on installing
Execute the kuttl test using the following command:

```bash
kubectl kuttl test redis-operator/tests/e2e/v1beta2 --config /redis-operator/tests/_config/kuttl-test.yaml --timeout 10m
kubectl kuttl test redis-operator/tests/e2e/v1beta2 --config /redis-operator/tests/_config/kuttl-test.yaml --timeout 600
```

0 comments on commit 667ceae

Please sign in to comment.