提交 6b99b967 编写于 作者: Z zhangxingxia

add statistics xts

Signed-off-by: Nzhangxingxia <zhangxingxia1@huawei.com>
上级 65b87023
......@@ -125,7 +125,7 @@ export default function storageStatisticsTest() {
let tasks = [delay(), delay(), delay(), delay()];
Promise.all(tasks).then(results => {
let isNotNull = results.every(bundleStat => {
return bundleStat != null;
return bundleStat != null && JSON.stringify(bundleStat) != "{}";
});
let flag = !results.some(value => {
return JSON.stringify(value) !== JSON.stringify(results[0]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册