From 899144ec199bdd6980d8cc113111a823f470f54a Mon Sep 17 00:00:00 2001 From: "bodong.ybd" Date: Thu, 5 Dec 2024 17:17:18 +0800 Subject: [PATCH] chore: update doc and name --- README-CN.md | 2 +- README.md | 4 ++-- Terraform/Aliyun/main.tf | 4 ++-- cts_refer.md | 2 +- resp_compatibility.py | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README-CN.md b/README-CN.md index 264efea..eb50c78 100644 --- a/README-CN.md +++ b/README-CN.md @@ -58,7 +58,7 @@ Summary: version: 6.2.0, total tests: 260, passed: 260, rate: 100.00% ``` ## genhtml -您可以使用 `--genhtml` 选项来生成和此[网站](https://tair-opensource.github.io/compatibility-test-suite-for-redis/)相同的 html 报告。 请注意,当使用此选项时候,将会读取 [config.yaml](config.yaml) 文件中的配置进行测试,此时命令行中的 `specific-version` 将会被文件中的覆盖。 +您可以使用 `--genhtml` 选项来生成和此[网站](https://tair-opensource.github.io/resp-compatibility/)相同的 html 报告。 请注意,当使用此选项时候,将会读取 [config.yaml](config.yaml) 文件中的配置进行测试,此时命令行中的 `specific-version` 将会被文件中的覆盖。 ``` $ python3.9 resp_compatibility.py --testfile cts.json --genhtml --show-failed directory html already exists, will be deleted and renewed. diff --git a/README.md b/README.md index 15a4cb7..d56378b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # resp-compatibility -[![4.0](https://github.com/tair-opensource/compatibility-test-suite-for-redis/actions/workflows/4.0.yaml/badge.svg)](https://github.com/tair-opensource/compatibility-test-suite-for-redis/actions/workflows/4.0.yaml) [![5.0](https://github.com/tair-opensource/compatibility-test-suite-for-redis/actions/workflows/5.0.yaml/badge.svg)](https://github.com/tair-opensource/compatibility-test-suite-for-redis/actions/workflows/5.0.yaml) [![6.0](https://github.com/tair-opensource/compatibility-test-suite-for-redis/actions/workflows/6.0.yaml/badge.svg)](https://github.com/tair-opensource/compatibility-test-suite-for-redis/actions/workflows/6.0.yaml) [![6.2](https://github.com/tair-opensource/compatibility-test-suite-for-redis/actions/workflows/6.2.yaml/badge.svg)](https://github.com/tair-opensource/compatibility-test-suite-for-redis/actions/workflows/6.2.yaml) [![7.0](https://github.com/tair-opensource/compatibility-test-suite-for-redis/actions/workflows/7.0.yaml/badge.svg)](https://github.com/tair-opensource/compatibility-test-suite-for-redis/actions/workflows/7.0.yaml) [![7.2](https://github.com/tair-opensource/compatibility-test-suite-for-redis/actions/workflows/7.2.yaml/badge.svg)](https://github.com/tair-opensource/compatibility-test-suite-for-redis/actions/workflows/7.2.yaml) [![unstable](https://github.com/tair-opensource/compatibility-test-suite-for-redis/actions/workflows/unstable.yaml/badge.svg)](https://github.com/tair-opensource/compatibility-test-suite-for-redis/actions/workflows/unstable.yaml) +[![4.0](https://github.com/tair-opensource/resp-compatibility/actions/workflows/4.0.yaml/badge.svg)](https://github.com/tair-opensource/resp-compatibility/actions/workflows/4.0.yaml) [![5.0](https://github.com/tair-opensource/resp-compatibility/actions/workflows/5.0.yaml/badge.svg)](https://github.com/tair-opensource/resp-compatibility/actions/workflows/5.0.yaml) [![6.0](https://github.com/tair-opensource/resp-compatibility/actions/workflows/6.0.yaml/badge.svg)](https://github.com/tair-opensource/resp-compatibility/actions/workflows/6.0.yaml) [![6.2](https://github.com/tair-opensource/resp-compatibility/actions/workflows/6.2.yaml/badge.svg)](https://github.com/tair-opensource/resp-compatibility/actions/workflows/6.2.yaml) [![7.0](https://github.com/tair-opensource/resp-compatibility/actions/workflows/7.0.yaml/badge.svg)](https://github.com/tair-opensource/resp-compatibility/actions/workflows/7.0.yaml) [![7.2](https://github.com/tair-opensource/resp-compatibility/actions/workflows/7.2.yaml/badge.svg)](https://github.com/tair-opensource/resp-compatibility/actions/workflows/7.2.yaml) [![unstable](https://github.com/tair-opensource/resp-compatibility/actions/workflows/unstable.yaml/badge.svg)](https://github.com/tair-opensource/resp-compatibility/actions/workflows/unstable.yaml) resp-compatibility is used to test whether your redis-like database is compatible with Redis versions (such as 6.0, 7.0, etc.) [中文文档](README-CN.md) @@ -60,7 +60,7 @@ Summary: version: 6.2.0, total tests: 260, passed: 260, rate: 100.00% ``` ## genhtml -You can use `--genhtml` to generate a test report similar to the html of this [website](https://tair-opensource.github.io/compatibility-test-suite-for-redis/). It should be noted that this option will read the configuration in [config.yaml](config.yaml) for testing. Special attention needs to be paid, at this time the `specific-version` specified in your command line will be overwritten by the one in the configuration file. +You can use `--genhtml` to generate a test report similar to the html of this [website](https://tair-opensource.github.io/resp-compatibility/). It should be noted that this option will read the configuration in [config.yaml](config.yaml) for testing. Special attention needs to be paid, at this time the `specific-version` specified in your command line will be overwritten by the one in the configuration file. ``` $ python3.9 resp_compatibility.py --testfile cts.json --genhtml --show-failed directory html already exists, will be deleted and renewed. diff --git a/Terraform/Aliyun/main.tf b/Terraform/Aliyun/main.tf index de03435..787a6c6 100644 --- a/Terraform/Aliyun/main.tf +++ b/Terraform/Aliyun/main.tf @@ -117,7 +117,7 @@ resource "alicloud_kvstore_instance" "my_tair_cluster" { instance_class = "tair.rdb.with.proxy.1g" instance_type = "Redis" engine_version = "7.0" - shard_count = "8" + shard_count = "2" zone_id = local.selected_zone_id vswitch_id = alicloud_vswitch.my_vswitch.id payment_type = "PostPaid" @@ -145,7 +145,7 @@ resource "alicloud_kvstore_instance" "my_redis_cluster" { instance_class = "redis.shard.with.proxy.small.ce" instance_type = "Redis" engine_version = "7.0" - shard_count = "8" + shard_count = "2" zone_id = local.selected_zone_id vswitch_id = alicloud_vswitch.my_vswitch.id payment_type = "PostPaid" diff --git a/cts_refer.md b/cts_refer.md index 164d007..273e55f 100644 --- a/cts_refer.md +++ b/cts_refer.md @@ -1,4 +1,4 @@ -> 1. The table content consists of the commands supported by CTS (compatibility-test-suite-for-redis) and their version information +> 1. The table content consists of the commands supported by CTS (resp-compatibility) and their version information > 2. This table is generated based on the command JSON format description of Redis 7.2. If you have any doubts, you can refer to the relevant files > 3. If the table information does not match the actual testing, please submit an Issue :) - Supported major versions diff --git a/resp_compatibility.py b/resp_compatibility.py index 1fe5e55..6264435 100644 --- a/resp_compatibility.py +++ b/resp_compatibility.py @@ -218,7 +218,7 @@ def generate_html_report(logdir, configs): filepath = f"{logdir}/index.html" html = open(filepath, "w") html.write("This page is automatically generated by compatibility-test-suite-for-redis " + "resp-compatibility\">resp-compatibility " "to show the compatibility of the following Redis-Like systems and different versions of Redis.

") # Separate databases into cluster and standalone