-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kv: Fix test to correctly test the SystemClass
Previously this test had several issues that are all addressed. First the system range it was writing to only had a single replica, so even if it was correctly written to, a network partition wouldn't test anything. Additionally, the address it was attempting to write to was a lease change, which is not in the system range. The reason this worked previously is that there was an early exist from the change lease code if the old and new leaseholders were the same, so it didn't actually attempt to write to the leaseholder name at all. This change addresses all this, but writing to a key in the liveness range and first replicating the liveness range to all nodes. Release note: None
- Loading branch information
1 parent
76cbd88
commit 7c70b06
Showing
1 changed file
with
31 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters