Skip to content

Commit dc81594

Browse files
authored
test: skip test_network_disconnect_during_migration (#4359)
1 parent aeeb625 commit dc81594

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/server/cluster/incoming_slot_migration.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ bool IncomingSlotMigration::Join(long attempt) {
185185
while (true) {
186186
const absl::Time now = absl::Now();
187187
const absl::Duration passed = now - start;
188-
VLOG(1) << "Checking whether to continue with join " << passed << " vs " << timeout;
188+
VLOG_EVERY_N(1, 10000) << "Checking whether to continue with join " << passed << " vs "
189+
<< timeout;
189190
if (passed >= timeout) {
190191
LOG(WARNING) << "Can't join migration in time for " << source_id_;
191192
ReportError(GenericError("Can't join migration in time"));

tests/dragonfly/cluster_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,6 +1433,7 @@ async def test_migration_with_key_ttl(df_factory):
14331433
assert await nodes[1].client.execute_command("stick k_sticky") == 0
14341434

14351435

1436+
@pytest.mark.skip("Flaky test")
14361437
@dfly_args({"proactor_threads": 4, "cluster_mode": "yes"})
14371438
async def test_network_disconnect_during_migration(df_factory):
14381439
instances = [

0 commit comments

Comments
 (0)