首页 > 解决方案 > 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

标签: hyperledger-fabrichyperledgerhyperledger-explorer

解决方案


该错误已在最近的 Pull Request中得到修复。在最新的代码库 (v1.1.0) 中您将不会再看到它。


推荐阅读