Commit 3acc98c
committed
Fix matching unordered JSON in cluster test
New NETCONF release added SSH topology-types container to topology.
The topology container is unordered ("node" list and
"topology-types" container order varies).
Fix this by sorting JSON before comparing replies for
consistent test results.
JIRA: LIGHTY-394
Signed-off-by: Peter Suna <[email protected]>1 parent b0d8722 commit 3acc98c
File tree
1 file changed
+6
-3
lines changed- .github/workflows/lighty-rnc-app
1 file changed
+6
-3
lines changedLines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
| |||
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| 140 | + | |
| 141 | + | |
139 | 142 | | |
140 | 143 | | |
141 | | - | |
142 | | - | |
| 144 | + | |
| 145 | + | |
143 | 146 | | |
144 | | - | |
| 147 | + | |
145 | 148 | | |
146 | 149 | | |
147 | 150 | | |
| |||
0 commit comments