Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPFS in CI #12

Open
aphelionz opened this issue Jun 1, 2021 · 0 comments
Open

IPFS in CI #12

aphelionz opened this issue Jun 1, 2021 · 0 comments

Comments

@aphelionz
Copy link
Member

This passes CI but we still have an issue with IPFS:

  ●  Cannot log after tests are done. Did you forget to wait for something async in your test?
    Attempted to log "generating 2048-bit (rsa only) RSA keypair...".

      20 | }
      21 |
    > 22 | export const getAllDatabases = async () => {
         |          ^
      23 |   if (!programs && orbitdb) {
      24 |     // Load programs database
      25 |     programs = await orbitdb.feed('network.programs', {

      at console.log (node_modules/@jest/console/build/CustomConsole.js:185:10)
      at initPeerId (node_modules/ipfs-core/src/components/storage.js:176:3)
      at initRepo (node_modules/ipfs-core/src/components/storage.js:110:13)
      at loadRepo (node_modules/ipfs-core/src/components/storage.js:86:17)
      at Function.start (node_modules/ipfs-core/src/components/storage.js:54:41)
      at Object.create (node_modules/ipfs-core/src/components/index.js:223:21)
      at initIPFS (src/database/index.js:22:10)

(node:76) UnhandledPromiseRejectionWarning: Error: digest should be a Uint8Array
(Use `node --trace-warnings ...` to show where the warning was created)
(node:76) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:76) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

CircleCI received exit code 0

Originally posted by @aphelionz in #11 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant