Improve multithreaded test reliability
Former-commit-id: effa53339cf272ced8f0661bc275628f87be5c73
This commit is contained in:
parent
7766b37062
commit
d4408580b5
@ -246,7 +246,7 @@ test_slave_buffers {slave buffer are counted correctly} 1000000 10 0 1
|
|||||||
# test again with fewer (and bigger) commands without pipeline, but with eviction
|
# test again with fewer (and bigger) commands without pipeline, but with eviction
|
||||||
test_slave_buffers "replica buffer don't induce eviction" 100000 100 1 0
|
test_slave_buffers "replica buffer don't induce eviction" 100000 100 1 0
|
||||||
|
|
||||||
start_server {tags {"maxmemory"}} {
|
start_server {tags {"maxmemory"} overrides {server-threads 1}} {
|
||||||
test {client tracking don't cause eviction feedback loop} {
|
test {client tracking don't cause eviction feedback loop} {
|
||||||
r config set maxmemory 0
|
r config set maxmemory 0
|
||||||
r config set maxmemory-policy allkeys-lru
|
r config set maxmemory-policy allkeys-lru
|
||||||
@ -308,4 +308,4 @@ start_server {tags {"maxmemory"}} {
|
|||||||
if {$::verbose} { puts "evicted: $evicted" }
|
if {$::verbose} { puts "evicted: $evicted" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}; #run_solo
|
}; #run_solo
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
start_server {tags {"obuf-limits"}} {
|
start_server {tags {"obuf-limits"} overrides { server-threads 1 }} {
|
||||||
test {Client output buffer hard limit is enforced} {
|
test {Client output buffer hard limit is enforced} {
|
||||||
r config set client-output-buffer-limit {pubsub 100000 0 0}
|
r config set client-output-buffer-limit {pubsub 100000 0 0}
|
||||||
set rd1 [redis_deferring_client]
|
set rd1 [redis_deferring_client]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user