Merge pull request #22354 from 2m/wip-fix-mbean-spec-2m

#22353 fix mbean expected json format
This commit is contained in:
Patrik Nordwall 2017-02-21 13:30:07 +01:00 committed by GitHub
commit aa9d4d7706

View file

@ -116,37 +116,37 @@ abstract class MBeanSpec
val unreachableObservedBy = Vector(first, second, third).sorted.map(address(_))
val expectedJson =
s"""{
| "self-address": "${address(first)}",
| "members": [
| {
| "address": "${sortedNodes(0)}",
| "status": "Up",
| "roles": [
| "testNode"
| ]
| ],
| "status": "Up"
| },
| {
| "address": "${sortedNodes(1)}",
| "status": "Up",
| "roles": [
| "testNode"
| ]
| ],
| "status": "Up"
| },
| {
| "address": "${sortedNodes(2)}",
| "status": "Up",
| "roles": [
| "testNode"
| ]
| ],
| "status": "Up"
| },
| {
| "address": "${sortedNodes(3)}",
| "status": "Up",
| "roles": [
| "testNode"
| ]
| ],
| "status": "Up"
| }
| ],
| "self-address": "${address(first)}",
| "unreachable": [
| {
| "node": "${address(fourth)}",