summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorsundb <sundbcn@gmail.com>2022-01-05 19:49:01 +0800
committerGitHub <noreply@github.com>2022-01-05 13:49:01 +0200
commit4d3c4cfac70557a28a62266543951d46d0cae584 (patch)
treec896d855f1c4739f73652716cbdc82fa4f6175f7 /tests/integration
parent9538088751bec5e53799c600167c24c878fb651f (diff)
downloadredis-4d3c4cfac70557a28a62266543951d46d0cae584.tar.gz
Show the elapsed time of single test and speed up some tests (#10058)
Following #10038. This PR introduces two changes. 1. Show the elapsed time of a single test in the test output, in order to have a more detailed understanding of the changes in test run time. 2. Speedup two tests related to `key-load-delay` configuration. other tests do not seem to be affected by #10003.
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/rdb.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/rdb.tcl b/tests/integration/rdb.tcl
index 25e7936fe..887920bbe 100644
--- a/tests/integration/rdb.tcl
+++ b/tests/integration/rdb.tcl
@@ -170,7 +170,7 @@ start_server {} {
}
test {client freed during loading} {
- start_server [list overrides [list key-load-delay 50 rdbcompression no]] {
+ start_server [list overrides [list key-load-delay 50 loading-process-events-interval-bytes 1024 rdbcompression no]] {
# create a big rdb that will take long to load. it is important
# for keys to be big since the server processes events only once in 2mb.
# 100mb of rdb, 100k keys will load in more than 5 seconds