hyperledger-fabric - Hyperledger Explorer 测试失败
问题描述
在按照 Hyperledger 中的自述文件进行配置后,探索并让 md5 值得信任,我已经成功地走到了这一步。我目前正在使用 Ubuntu 18.04 LTS 服务器。
Test explorerpg.sql for DDL statements syntax verification
✓ should read the file explorerpg.sql for ddl statements
TAP version 13
# Test Results
ok 1 DROP USER IF EXISTS testuser;
not ok 2 WITH PASSWORD 'password';
---
operator: fail
at: <anonymous> (/home/hrm/hrm-explorer/app/test/postgrespgtest.js:2:5157)
stack: |-
Error: WITH PASSWORD 'password';
at Test.assert [as _assert] (/home/hrm/hrm-explorer/app/test/node_modules/tape/lib/test.js:228:54)
at Test.bound [as _assert] (/home/hrm/hrm-explorer/app/test/node_modules/tape/lib/test.js:80:32)
at Test.fail (/home/hrm/hrm-explorer/app/test/node_modules/tape/lib/test.js:322:10)
at Test.bound [as fail] (/home/hrm/hrm-explorer/app/test/node_modules/tape/lib/test.js:80:32)
at /home/hrm/hrm-explorer/app/test/postgrespgtest.js:2:5157
at processTicksAndRejections (internal/process/task_queues.js:97:5)
...
测试失败:# 测试 65,# 通过 43,# 失败 22
而且npm ERR! Failed at the hyperledger-explorer-test@0.3.9 test script
解决方案
该错误已在最近的 Pull Request中得到修复。在最新的代码库 (v1.1.0) 中您将不会再看到它。
推荐阅读
- linux - bash 中的条件与 find 和 if else 匹配
- javascript - Chartjs拆分两位数
- python - 与 FlaskGroup 一起使用时,如何使用 Flask CLI 为自定义脚本编写测试?
- vespa - 如何检查 vespa 文档中不存在的字段
- typescript - 如何测试负责注册 Prometheus 指标的方法装饰器
- sql - Azure SQL DB 外部表在 csv 末尾添加列后抛出错误
- nginx - 如何使用 nginx 入口在端口 80(即没有 TLS)上启用 http2/grpc?
- java - Android Studio 打不开
- java - 使用java bean在jsp页面上获取运行时异常
- vue.js - 在单个 div 上有两个不同的点击事件