We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TestRegionCheck
=== RUN TestRegionTestSuite/TestRegionCheck region_test.go:151: Error Trace: /home/runner/work/pd/pd/server/api/region_test.go:151 Error: Not equal: expected: &response.RegionsInfo{Count:1, Regions:[]response.RegionInfo{response.RegionInfo{ID:0x2, StartKey:"61", EndKey:"62", RegionEpoch:(*metapb.RegionEpoch)(0xc001a61920), Peers:[]response.MetaPeer{response.MetaPeer{Peer:(*metapb.Peer)(0xc001a21680), RoleName:"Voter", IsLearner:false}, response.MetaPeer{Peer:(*metapb.Peer)(0xc001a216c0), RoleName:"Voter", IsLearner:false}}, Leader:response.MetaPeer{Peer:(*metapb.Peer)(0xc001a21700), RoleName:"Voter", IsLearner:false}, DownPeers:[]response.PDPeerStats{response.PDPeerStats{PeerStats:(*pdpb.PeerStats)(0xc001a61770), Peer:response.MetaPeer{Peer:(*metapb.Peer)(0xc001a21600), RoleName:"Voter", IsLearner:false}}}, PendingPeers:[]response.MetaPeer{response.MetaPeer{Peer:(*metapb.Peer)(0xc001a21640), RoleName:"Voter", IsLearner:false}}, CPUUsage:0x0, WrittenBytes:0x0, ReadBytes:0x0, WrittenKeys:0x0, ReadKeys:0x0, ApproximateSize:1, ApproximateKeys:10, ApproximateKvSize:0, Buckets:[]string(nil), ReplicationStatus:(*response.ReplicationStatus)(nil)}}} actual : &response.RegionsInfo{Count:0, Regions:[]response.RegionInfo{}} Diff: --- Expected +++ Actual @@ -1,122 +1,4 @@ (*response.RegionsInfo)({ - Count: (int) 1, - Regions: ([]response.RegionInfo) (len=1) { - (response.RegionInfo) { - ID: (uint64) 2, - StartKey: (string) (len=2) "61", - EndKey: (string) (len=2) "62", - RegionEpoch: (*metapb.RegionEpoch)({ - ConfVer: (uint64) 1, - Version: (uint64) 1, - XXX_NoUnkeyedLiteral: (struct {}) { - }, - XXX_unrecognized: ([]uint8) <nil>, - XXX_sizecache: (int32) 0 - }), - Peers: ([]response.MetaPeer) (len=2) { - (response.MetaPeer) { - Peer: (*metapb.Peer)({ - Id: (uint64) 2, - StoreId: (uint64) 1, - Role: (metapb.PeerRole) 0, - IsWitness: (bool) false, - XXX_NoUnkeyedLiteral: (struct {}) { - }, - XXX_unrecognized: ([]uint8) <nil>, - XXX_sizecache: (int32) 0 - }), - RoleName: (string) (len=5) "Voter", - IsLearner: (bool) false - }, - (response.MetaPeer) { - Peer: (*metapb.Peer)({ - Id: (uint64) 13, - StoreId: (uint64) 2, - Role: (metapb.PeerRole) 0, - IsWitness: (bool) false, - XXX_NoUnkeyedLiteral: (struct {}) { - }, - XXX_unrecognized: ([]uint8) <nil>, - XXX_sizecache: (int32) 0 - }), - RoleName: (string) (len=5) "Voter", - IsLearner: (bool) false - } - }, - Leader: (response.MetaPeer) { - Peer: (*metapb.Peer)({ - Id: (uint64) 2, - StoreId: (uint64) 1, - Role: (metapb.PeerRole) 0, - IsWitness: (bool) false, - XXX_NoUnkeyedLiteral: (struct {}) { - }, - XXX_unrecognized: ([]uint8) <nil>, - XXX_sizecache: (int32) 0 - }), - RoleName: (string) (len=5) "Voter", - IsLearner: (bool) false - }, - DownPeers: ([]response.PDPeerStats) (len=1) { - (response.PDPeerStats) { - PeerStats: (*pdpb.PeerStats)({ - Peer: (*metapb.Peer)({ - Id: (uint64) 13, - StoreId: (uint64) 2, - Role: (metapb.PeerRole) 0, - IsWitness: (bool) false, - XXX_NoUnkeyedLiteral: (struct {}) { - }, - XXX_unrecognized: ([]uint8) <nil>, - XXX_sizecache: (int32) 0 - }), - DownSeconds: (uint64) [360](https://github.com/tikv/pd/actions/runs/10349385167/job/28643632184?pr=8515#step:4:361)0, - XXX_NoUnkeyedLiteral: (struct {}) { - }, - XXX_unrecognized: ([]uint8) <nil>, - XXX_sizecache: (int32) 0 - }), - Peer: (response.MetaPeer) { - Peer: (*metapb.Peer)({ - Id: (uint64) 13, - StoreId: (uint64) 2, - Role: (metapb.PeerRole) 0, - IsWitness: (bool) false, - XXX_NoUnkeyedLiteral: (struct {}) { - }, - XXX_unrecognized: ([]uint8) <nil>, - XXX_sizecache: (int32) 0 - }), - RoleName: (string) (len=5) "Voter", - IsLearner: (bool) false - } - } - }, - PendingPeers: ([]response.MetaPeer) (len=1) { - (response.MetaPeer) { - Peer: (*metapb.Peer)({ - Id: (uint64) 13, - StoreId: (uint64) 2, - Role: (metapb.PeerRole) 0, - IsWitness: (bool) false, - XXX_NoUnkeyedLiteral: (struct {}) { - }, - XXX_unrecognized: ([]uint8) <nil>, - XXX_sizecache: (int32) 0 - }), - RoleName: (string) (len=5) "Voter", - IsLearner: (bool) false - } - }, - CPUUsage: (uint64) 0, - WrittenBytes: (uint64) 0, - ReadBytes: (uint64) 0, - WrittenKeys: (uint64) 0, - ReadKeys: (uint64) 0, - ApproximateSize: (int64) 1, - ApproximateKeys: (int64) 10, - ApproximateKvSize: (int64) 0, - Buckets: ([]string) <nil>, - ReplicationStatus: (*response.ReplicationStatus)(<nil>) - } + Count: (int) 0, + Regions: ([]response.RegionInfo) { } Test: TestRegionTestSuite/TestRegionCheck
https://github.com/tikv/pd/actions/runs/10349385167/job/28643632184?pr=8515
The text was updated successfully, but these errors were encountered:
750d475
Successfully merging a pull request may close this issue.
Flaky Test
Which jobs are failing
TestRegionCheck
CI link
https://github.com/tikv/pd/actions/runs/10349385167/job/28643632184?pr=8515
Reason for failure (if possible)
Anything else
The text was updated successfully, but these errors were encountered: