Improve multithreaded test reliability

Former-commit-id: effa53339cf272ced8f0661bc275628f87be5c73
This commit is contained in:
John Sully 2021-01-31 04:33:27 +00:00
parent 7766b37062
commit d4408580b5
2 changed files with 3 additions and 3 deletions

View File

@ -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_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} {
r config set maxmemory 0
r config set maxmemory-policy allkeys-lru
@ -308,4 +308,4 @@ start_server {tags {"maxmemory"}} {
if {$::verbose} { puts "evicted: $evicted" }
}
}
}; #run_solo
}; #run_solo

View File

@ -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} {
r config set client-output-buffer-limit {pubsub 100000 0 0}
set rd1 [redis_deferring_client]