Skip to content

Commit 40e54b7

Browse files
committed
chore: fixes
Signed-off-by: Roman Gershman <[email protected]>
1 parent 7e9e9eb commit 40e54b7

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed

src/server/dfly_main.cc

+1
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,7 @@ Usage: dragonfly [FLAGS]
817817
mi_option_enable(mi_option_show_errors);
818818
mi_option_set(mi_option_max_warnings, 0);
819819
mi_option_enable(mi_option_purge_decommits);
820+
mi_option_set(mi_option_purge_delay, 0);
820821

821822
fb2::SetDefaultStackResource(&fb2::std_malloc_resource, kFiberDefaultStackSize);
822823

src/server/memory_cmd.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ void MemoryCmd::ArenaStats(CmdArgList args) {
326326
}
327327

328328
if (show_arenas) {
329-
// mi_debug_show_arenas(true, true, true);
329+
mi_debug_show_arenas();
330330
return builder_->SendOk();
331331
}
332332

tests/dragonfly/replication_test.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -2088,7 +2088,6 @@ async def test_policy_based_eviction_propagation(df_factory, df_seeder_factory):
20882088
proactor_threads=2,
20892089
cache_mode="true",
20902090
maxmemory="512mb",
2091-
logtostdout="true",
20922091
enable_heartbeat_eviction="false",
20932092
rss_oom_deny_ratio=1.3,
20942093
)
@@ -2098,7 +2097,7 @@ async def test_policy_based_eviction_propagation(df_factory, df_seeder_factory):
20982097
c_master = master.client()
20992098
c_replica = replica.client()
21002099

2101-
await c_master.execute_command("DEBUG POPULATE 6000 size 88000")
2100+
await c_master.execute_command("DEBUG POPULATE 6000 size 89000")
21022101

21032102
await c_replica.execute_command(f"REPLICAOF localhost {master.port}")
21042103
await wait_available_async(c_replica)

tests/dragonfly/requirements.txt

+3-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
async-timeout==4.0.3
2-
attrs==22.1.0
3-
Deprecated==1.2.13
4-
iniconfig==1.1.1
5-
packaging==23.1
6-
pluggy==1.0.0
7-
py==1.11.0
8-
pyparsing==3.0.9
2+
packaging>=23.1
93
pytest==7.1.2
104
redis==5.2.1
115
tomli==2.0.1
@@ -18,9 +12,9 @@ prometheus_client==0.17.0
1812
aiohttp==3.10.2
1913
numpy
2014
pytest-json-report==1.5.0
21-
psutil==5.9.5
15+
psutil>=5.9.5
2216
boto3==1.28.55
23-
redis-om==0.3.3
17+
redis-om>=0.3.3
2418
pytest-emoji==0.2.0
2519
pytest-icdiff==0.8
2620
pytest-timeout==2.2.0

0 commit comments

Comments
 (0)