diff options
Diffstat (limited to 'tests/assets')
-rw-r--r-- | tests/assets/corrupt_empty_keys.rdb | bin | 0 -> 280 bytes | |||
-rw-r--r-- | tests/assets/corrupt_ziplist.rdb | bin | 0 -> 1415 bytes | |||
-rw-r--r-- | tests/assets/default.conf | 33 | ||||
-rw-r--r-- | tests/assets/encodings.rdb | bin | 0 -> 667 bytes | |||
-rw-r--r-- | tests/assets/hash-ziplist.rdb | bin | 0 -> 137 bytes | |||
-rw-r--r-- | tests/assets/hash-zipmap.rdb | bin | 0 -> 35 bytes | |||
-rw-r--r-- | tests/assets/list-quicklist.rdb | bin | 0 -> 123 bytes | |||
-rw-r--r-- | tests/assets/minimal.conf | 5 | ||||
-rw-r--r-- | tests/assets/nodefaultuser.acl | 2 | ||||
-rw-r--r-- | tests/assets/rdb-preamble.aof | bin | 0 -> 169 bytes | |||
-rw-r--r-- | tests/assets/scriptbackup.rdb | bin | 0 -> 225 bytes | |||
-rw-r--r-- | tests/assets/user.acl | 3 | ||||
-rw-r--r-- | tests/assets/userwithselectors.acl | 2 | ||||
-rw-r--r-- | tests/assets/zset-ziplist.rdb | bin | 0 -> 135 bytes |
14 files changed, 45 insertions, 0 deletions
diff --git a/tests/assets/corrupt_empty_keys.rdb b/tests/assets/corrupt_empty_keys.rdb Binary files differnew file mode 100644 index 0000000..98b6a14 --- /dev/null +++ b/tests/assets/corrupt_empty_keys.rdb diff --git a/tests/assets/corrupt_ziplist.rdb b/tests/assets/corrupt_ziplist.rdb Binary files differnew file mode 100644 index 0000000..b40ada8 --- /dev/null +++ b/tests/assets/corrupt_ziplist.rdb diff --git a/tests/assets/default.conf b/tests/assets/default.conf new file mode 100644 index 0000000..4ae4207 --- /dev/null +++ b/tests/assets/default.conf @@ -0,0 +1,33 @@ +# Redis configuration for testing. + +always-show-logo yes +notify-keyspace-events KEA +daemonize no +pidfile /var/run/redis.pid +port 6379 +timeout 0 +bind 127.0.0.1 +loglevel verbose +logfile '' +databases 16 +latency-monitor-threshold 1 +repl-diskless-sync-delay 0 + +# Note the infrastructure in server.tcl uses a dict, we can't provide several save directives +save 900 1 + +rdbcompression yes +dbfilename dump.rdb +dir ./ + +slave-serve-stale-data yes +appendonly no +appendfsync everysec +no-appendfsync-on-rewrite no +activerehashing yes + +enable-protected-configs yes +enable-debug-command yes +enable-module-command yes + +propagation-error-behavior panic
\ No newline at end of file diff --git a/tests/assets/encodings.rdb b/tests/assets/encodings.rdb Binary files differnew file mode 100644 index 0000000..9fd9b70 --- /dev/null +++ b/tests/assets/encodings.rdb diff --git a/tests/assets/hash-ziplist.rdb b/tests/assets/hash-ziplist.rdb Binary files differnew file mode 100644 index 0000000..bcc39a3 --- /dev/null +++ b/tests/assets/hash-ziplist.rdb diff --git a/tests/assets/hash-zipmap.rdb b/tests/assets/hash-zipmap.rdb Binary files differnew file mode 100644 index 0000000..27a42ed --- /dev/null +++ b/tests/assets/hash-zipmap.rdb diff --git a/tests/assets/list-quicklist.rdb b/tests/assets/list-quicklist.rdb Binary files differnew file mode 100644 index 0000000..a9101a1 --- /dev/null +++ b/tests/assets/list-quicklist.rdb diff --git a/tests/assets/minimal.conf b/tests/assets/minimal.conf new file mode 100644 index 0000000..ae14ae8 --- /dev/null +++ b/tests/assets/minimal.conf @@ -0,0 +1,5 @@ +# Minimal configuration for testing. +always-show-logo yes +daemonize no +pidfile /var/run/redis.pid +loglevel verbose diff --git a/tests/assets/nodefaultuser.acl b/tests/assets/nodefaultuser.acl new file mode 100644 index 0000000..2557c7f --- /dev/null +++ b/tests/assets/nodefaultuser.acl @@ -0,0 +1,2 @@ +user alice on nopass ~* +@all +user bob on nopass ~* &* +@all
\ No newline at end of file diff --git a/tests/assets/rdb-preamble.aof b/tests/assets/rdb-preamble.aof Binary files differnew file mode 100644 index 0000000..73f2301 --- /dev/null +++ b/tests/assets/rdb-preamble.aof diff --git a/tests/assets/scriptbackup.rdb b/tests/assets/scriptbackup.rdb Binary files differnew file mode 100644 index 0000000..963715d --- /dev/null +++ b/tests/assets/scriptbackup.rdb diff --git a/tests/assets/user.acl b/tests/assets/user.acl new file mode 100644 index 0000000..926ac54 --- /dev/null +++ b/tests/assets/user.acl @@ -0,0 +1,3 @@ +user alice on allcommands allkeys &* >alice +user bob on -@all +@set +acl ~set* &* >bob +user default on nopass ~* &* +@all diff --git a/tests/assets/userwithselectors.acl b/tests/assets/userwithselectors.acl new file mode 100644 index 0000000..5d42957 --- /dev/null +++ b/tests/assets/userwithselectors.acl @@ -0,0 +1,2 @@ +user alice on (+get ~rw*) +user bob on (+set %W~w*) (+get %R~r*)
\ No newline at end of file diff --git a/tests/assets/zset-ziplist.rdb b/tests/assets/zset-ziplist.rdb Binary files differnew file mode 100644 index 0000000..d554947 --- /dev/null +++ b/tests/assets/zset-ziplist.rdb |