Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report add time and version #16

Merged
merged 1 commit into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,87 +19,100 @@ Database:
password:
ssl: false
cluster: false
version: unstable

DragonflyDB:
host: 127.0.0.1
port: 6380
password:
ssl: false
cluster: false
version: latest

Kvrocks:
host: 127.0.0.1
port: 6381
password:
ssl: false
cluster: false
version: 2.2.0

KeyDB:
host: 127.0.0.1
port: 6382
password:
ssl: false
cluster: false
version: latest

Pika:
host: 127.0.0.1
port: 6383
password:
ssl: false
cluster: false
version: latest

Tair:
host:
port:
password:
ssl:
cluster: false
version:

Kvstore:
host:
port:
password:
ssl:
cluster: false
version:

ElastiCache:
host:
port:
password:
ssl:
cluster: false
version:

MemoryDB:
host:
port:
password:
ssl:
cluster: false
version:

AzureRedis:
host:
port:
password:
ssl:
cluster: false
version:

GoogleMemoryStore:
host:
port:
password:
ssl:
cluster: false
version:

TencentRedis:
host:
port:
password:
ssl:
cluster: false
version:

GaussDBRedis:
host:
port:
password:
ssl:
cluster: false
cluster: false
version:
18 changes: 0 additions & 18 deletions cts.json
Original file line number Diff line number Diff line change
Expand Up @@ -5428,24 +5428,6 @@
],
"since": "7.0.0"
},
{
"name": "script debug command",
"command": [
"script flush",
"script debug yes",
"script debug sync",
"script debug no",
"script flush"
],
"result": [
"True",
"OK",
"OK",
"OK",
"True"
],
"since": "3.2.0"
},
{
"name": "script exists command",
"command": [
Expand Down
6 changes: 5 additions & 1 deletion redis_compatibility_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import json
import yaml
import shutil
import datetime
from dataclasses import dataclass
from typing import List, Dict

Expand Down Expand Up @@ -245,7 +246,7 @@ def generate_html_report(logdir, configs):
html.write("<tbody>")
for config in configs['Database']:
html.write("<tr>")
html.write(f"<td>{config}</td>")
html.write(f"<td>{config}({configs['Database'][config]['version']})</td>")
for version in configs['SpecificVersion']:
filepath = f"{logdir}/{config}-{version}.html"
if not os.path.exists(filepath):
Expand All @@ -265,6 +266,9 @@ def generate_html_report(logdir, configs):
html.write("</tr>")
html.write("</tbody>")
html.write("</table>")
html.write("<br>")
time = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
html.write(f"This report was generated on {time}.")
html.write("<style>table {border-collapse: collapse;} th, td {border: 1px solid black; padding: 8px;}</style>")
html.close()

Expand Down