mirror of https://gitee.com/bigwinds/arangodb
43 lines
1.1 KiB
C++
43 lines
1.1 KiB
C++
// Agency output of .[0].arango.Plan.Collections
|
|
std::shared_ptr<VPackBuffer<uint8_t>> planCollections = R"=(
|
|
{
|
|
"someDb": {
|
|
"11111111": {
|
|
"name": "satelliteCollection",
|
|
"shards": {
|
|
"s11": [
|
|
"PRMR-AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA",
|
|
"PRMR-BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB"
|
|
]
|
|
},
|
|
"replicationFactor": "satellite"
|
|
}
|
|
}
|
|
}
|
|
)="_vpack;
|
|
|
|
// Agency output of .[0].arango.Supervision.Health
|
|
// Coordinators are unused in the test, but must be ignored
|
|
std::shared_ptr<VPackBuffer<uint8_t>> supervisionHealth3Healthy0Bad = R"=(
|
|
{
|
|
"CRDN-976e3d6a-9148-4ece-99e9-326dc69834b2": {
|
|
},
|
|
"PRMR-AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA": {
|
|
"Status": "GOOD"
|
|
},
|
|
"CRDN-94ea8912-ff22-43d0-a005-bfc87f22709b": {
|
|
},
|
|
"CRDN-34b46cab-6f06-40a8-ac24-5eec1cf78f67": {
|
|
},
|
|
"PRMR-BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB": {
|
|
"Status": "GOOD"
|
|
},
|
|
"PRMR-CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC": {
|
|
"Status": "GOOD"
|
|
}
|
|
}
|
|
)="_vpack;
|
|
|
|
std::map<CollectionID, ResultT<std::vector<RepairOperation>>>
|
|
expectedResultsWithSatelliteCollection{};
|