Update store_ec_recovery_test.go
This commit is contained in:
@@ -416,7 +416,7 @@ func TestRecoverOneRemoteEcShardInterval_BuggyMaxShardCount(t *testing.T) {
|
|||||||
t.Errorf("Expected buggy logic to count 27 shards, got %d", buggyAvailableCount)
|
t.Errorf("Expected buggy logic to count 27 shards, got %d", buggyAvailableCount)
|
||||||
}
|
}
|
||||||
|
|
||||||
t.Logf("✅ Corrected code: %d shards (correct, insufficient)", len(availableShards))
|
t.Logf("Corrected code: %d shards (correct, insufficient)", len(availableShards))
|
||||||
t.Logf("❌ Buggy code would have counted: %d shards (incorrect, falsely sufficient)", buggyAvailableCount)
|
t.Logf("Buggy code would have counted: %d shards (incorrect, falsely sufficient)", buggyAvailableCount)
|
||||||
t.Logf("Missing shards: %v", missingShards)
|
t.Logf("Missing shards: %v", missingShards)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user