Skip to content

Commit

Permalink
chore: reduce number of logs in cluster tests (#4419)
Browse files Browse the repository at this point in the history
  • Loading branch information
BorysTheDev authored Jan 7, 2025
1 parent ec6ac23 commit 2fe29c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/server/journal/streamer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ void JournalStreamer::AsyncWrite() {

void JournalStreamer::Write(std::string str) {
DCHECK(!str.empty());
DVLOG(2) << "Writing " << str.size() << " bytes";
DVLOG(3) << "Writing " << str.size() << " bytes";

pending_buf_.Push(std::move(str));

Expand Down
10 changes: 5 additions & 5 deletions tests/dragonfly/cluster_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ async def test_cluster_flushall_during_migration(
df_factory.create(
port=next(next_port),
admin_port=next(next_port),
vmodule="cluster_family=9,outgoing_slot_migration=9,incoming_slot_migration=9,streamer=9",
vmodule="cluster_family=2,outgoing_slot_migration=2,incoming_slot_migration=2,streamer=2",
logtostdout=True,
)
for i in range(2)
Expand Down Expand Up @@ -1313,7 +1313,7 @@ async def test_cluster_data_migration(df_factory: DflyInstanceFactory, interrupt
df_factory.create(
port=next(next_port),
admin_port=next(next_port),
vmodule="outgoing_slot_migration=9,cluster_family=9,incoming_slot_migration=9,streamer=9",
vmodule="outgoing_slot_migration=2,cluster_family=2,incoming_slot_migration=2,streamer=2",
)
for i in range(2)
]
Expand Down Expand Up @@ -1524,7 +1524,7 @@ async def test_cluster_fuzzymigration(
df_factory.create(
port=next(next_port),
admin_port=next(next_port),
vmodule="outgoing_slot_migration=9,cluster_family=9,incoming_slot_migration=9,streamer=9",
vmodule="outgoing_slot_migration=2,cluster_family=2,incoming_slot_migration=2,streamer=2",
serialization_max_chunk_size=huge_values,
replication_stream_output_limit=10,
cache_mode=cache_mode,
Expand Down Expand Up @@ -2474,7 +2474,7 @@ async def test_cluster_memory_consumption_migration(df_factory: DflyInstanceFact
maxmemory="15G",
port=next(next_port),
admin_port=next(next_port),
vmodule="streamer=9",
vmodule="streamer=2",
)
for i in range(3)
]
Expand Down Expand Up @@ -2533,7 +2533,7 @@ async def test_migration_timeout_on_sync(df_factory: DflyInstanceFactory, df_see
port=next(next_port),
admin_port=next(next_port),
replication_timeout=3000,
vmodule="outgoing_slot_migration=9,cluster_family=9,incoming_slot_migration=9,streamer=2",
vmodule="outgoing_slot_migration=2,cluster_family=2,incoming_slot_migration=2,streamer=2",
)
for i in range(2)
]
Expand Down

0 comments on commit 2fe29c3

Please sign in to comment.