|
@@ -121,7 +121,11 @@ public class QCTestController {
|
|
for (Map.Entry<String, String> entry : catalogue_map.entrySet()) {
|
|
for (Map.Entry<String, String> entry : catalogue_map.entrySet()) {
|
|
Map<String, Object> m = new HashMap<>();
|
|
Map<String, Object> m = new HashMap<>();
|
|
Map<String, Object> w = new HashMap<>();
|
|
Map<String, Object> w = new HashMap<>();
|
|
- m.put("pass", outputInfo.getResult().get(entry.getKey()).get("status"));
|
|
|
|
|
|
+ if (outputInfo.getResult().get(entry.getKey()) == null) {
|
|
|
|
+ m.put("pass", "-2");
|
|
|
|
+ } else {
|
|
|
|
+ m.put("pass", outputInfo.getResult().get(entry.getKey()).get("status"));
|
|
|
|
+ }
|
|
w.put("id", catalogue_map.get(entry.getKey()));
|
|
w.put("id", catalogue_map.get(entry.getKey()));
|
|
|
|
|
|
updates.add(m);
|
|
updates.add(m);
|