mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-26 23:50:00 -07:00
(wip) fix invalid http compact address encode
* add packages to loggers * split config examples with different storages
This commit is contained in:
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
@@ -82,13 +82,10 @@ jobs:
|
||||
run: |
|
||||
go install ./cmd/mochi
|
||||
go install ./cmd/mochi-e2e
|
||||
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","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
|
||||
cat ./dist/example_config_redis.yaml
|
||||
- name: "Run end-to-end tests"
|
||||
run: |
|
||||
mochi --config=./dist/example_redis_config.yaml --logLevel debug --logPretty &
|
||||
mochi --config=./dist/example_config_redis.yaml --logLevel debug --logPretty &
|
||||
pid=$!
|
||||
sleep 2
|
||||
mochi-e2e
|
||||
|
||||
Reference in New Issue
Block a user