refactor once again
This commit is contained in:
@@ -102,10 +102,7 @@ func TestThreeNodeMajorityOwnership(t *testing.T) {
|
||||
link(syncedC, hostA, addrA)
|
||||
link(syncedC, hostB, addrB)
|
||||
|
||||
// Rebuild rings after manual linking so ownership resolution is immediate.
|
||||
syncedA.ForceRingRefresh()
|
||||
syncedB.ForceRingRefresh()
|
||||
syncedC.ForceRingRefresh()
|
||||
// Ring-based ownership removed; no ring refresh needed.
|
||||
|
||||
// Allow brief stabilization
|
||||
time.Sleep(200 * time.Millisecond)
|
||||
@@ -178,7 +175,7 @@ func TestThreeNodeMajorityOwnership(t *testing.T) {
|
||||
t.Fatalf("expected owner %s to hold local grain", ownerPre)
|
||||
}
|
||||
|
||||
// Remote proxies may not pre-exist; first remote mutation will trigger SpawnRemoteGrain lazily.
|
||||
// First-touch ownership: remote mutation claims ownership on first access (no remote proxies).
|
||||
|
||||
// Issue remote mutation from one non-owner -> ChangeQuantity (increase)
|
||||
change := &messages.ChangeQuantity{
|
||||
|
||||
Reference in New Issue
Block a user