public class MockThreeStoresTest extends PDMockServerTest
| Modifier and Type | Field and Description |
|---|---|
protected TiRegion |
region |
protected List<KVMockServer> |
servers |
protected List<Metapb.Store> |
stores |
leader, LOCAL_ADDR, pdServers, session| Constructor and Description |
|---|
MockThreeStoresTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
put(ByteString key,
ByteString value) |
void |
remove(ByteString key,
ByteString value) |
void |
setup() |
void |
tearDown() |
protected TiRegion region
protected List<KVMockServer> servers
protected List<Metapb.Store> stores
public void setup()
throws IOException
setup in class PDMockServerTestIOExceptionpublic void put(ByteString key, ByteString value)
public void remove(ByteString key, ByteString value)
public void tearDown()
tearDown in class PDMockServerTestCopyright © 2025 PingCAP. All rights reserved.