(tested) rollback to separate v4 and v6 keys in redis/keydb

* sanitize log fields
* remove miniredis dependency
* store/collect information about hybrid (v2to1) hashes
This commit is contained in:
Lawrence, Rendall
2022-04-24 20:28:41 +03:00
parent 22f459315b
commit ef03291efe
15 changed files with 324 additions and 281 deletions

View File

@@ -22,6 +22,11 @@ jobs:
unit:
name: "Run Unit Tests"
runs-on: "ubuntu-latest"
services:
redis:
image: "eqalpha/keydb"
ports: [ "6379:6379" ]
options: "--entrypoint keydb-server"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-go@v3"
@@ -54,9 +59,9 @@ jobs:
runs-on: "ubuntu-latest"
services:
redis:
image: "redis"
image: "eqalpha/keydb"
ports: [ "6379:6379" ]
options: "--entrypoint redis-server"
options: "--entrypoint keydb-server"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-go@v3"
@@ -67,7 +72,7 @@ jobs:
go install --tags e2e ./cmd/mochi
curl -LO https://github.com/jzelinskie/faq/releases/download/0.0.6/faq-linux-amd64
chmod +x faq-linux-amd64
./faq-linux-amd64 '.mochi.storage = {"config":{"gc_interval":"3m","peer_lifetime":"31m","prometheus_reporting_interval":"1s","redis_broker":"redis://127.0.0.1:6379/0","connect_timeout":"15s","read_timeout":"15s","write_timeout":"15s"},"name":"redis"}' ./dist/example_config.yaml > ./dist/example_redis_config.yaml
./faq-linux-amd64 '.mochi.storage = {"config":{"gc_interval":"3m","peer_lifetime":"31m","prometheus_reporting_interval":"1s","connect_timeout":"15s","read_timeout":"15s","write_timeout":"15s"},"name":"redis"}' ./dist/example_config.yaml > ./dist/example_redis_config.yaml
cat ./dist/example_redis_config.yaml
- name: "Run end-to-end tests"
run: |