diff options
Diffstat (limited to 'tests/plugins/kv/configs')
-rw-r--r-- | tests/plugins/kv/configs/.rr-boltdb.yaml | 15 | ||||
-rw-r--r-- | tests/plugins/kv/configs/.rr-in-memory.yaml | 11 | ||||
-rw-r--r-- | tests/plugins/kv/configs/.rr-kv-init.yaml | 4 | ||||
-rw-r--r-- | tests/plugins/kv/configs/.rr-memcached.yaml | 12 |
4 files changed, 40 insertions, 2 deletions
diff --git a/tests/plugins/kv/configs/.rr-boltdb.yaml b/tests/plugins/kv/configs/.rr-boltdb.yaml new file mode 100644 index 00000000..81b47715 --- /dev/null +++ b/tests/plugins/kv/configs/.rr-boltdb.yaml @@ -0,0 +1,15 @@ +rpc: + listen: tcp://127.0.0.1:6001 + +logs: + mode: development + level: error + +kv: + boltdb-rr: + driver: boltdb + dir: "." + file: "rr.db" + bucket: "test" + permissions: 0666 + interval: 1 # seconds diff --git a/tests/plugins/kv/configs/.rr-in-memory.yaml b/tests/plugins/kv/configs/.rr-in-memory.yaml new file mode 100644 index 00000000..c6c3f0f7 --- /dev/null +++ b/tests/plugins/kv/configs/.rr-in-memory.yaml @@ -0,0 +1,11 @@ +rpc: + listen: tcp://127.0.0.1:6001 + +logs: + mode: development + level: error + +kv: + default: + driver: memory + interval: 1 diff --git a/tests/plugins/kv/configs/.rr-kv-init.yaml b/tests/plugins/kv/configs/.rr-kv-init.yaml index 935b952d..34e22a4e 100644 --- a/tests/plugins/kv/configs/.rr-kv-init.yaml +++ b/tests/plugins/kv/configs/.rr-kv-init.yaml @@ -12,7 +12,7 @@ kv: file: "rr.db" bucket: "rr" permissions: 0666 - ttl: 40s + interval: 1 boltdb-africa: driver: boltdb @@ -20,7 +20,7 @@ kv: file: "africa.db" bucket: "rr" permissions: 0666 - ttl: 40 + interval: 1 memcached: driver: memcached diff --git a/tests/plugins/kv/configs/.rr-memcached.yaml b/tests/plugins/kv/configs/.rr-memcached.yaml new file mode 100644 index 00000000..68443bc4 --- /dev/null +++ b/tests/plugins/kv/configs/.rr-memcached.yaml @@ -0,0 +1,12 @@ +rpc: + listen: tcp://127.0.0.1:6001 + +logs: + mode: development + level: error + +kv: + memcached-rr: + driver: memcached + addr: + - "localhost:11211" |