Advertisement
Guest User

Untitled

a guest
May 9th, 2019
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.63 KB | None | 0 0
  1. ☁ membrane [master] ⚡ yarn test
  2. yarn run v1.15.2
  3. $ jest --forceExit --detectOpenHandles --useStderr
  4. PASS packages/util/__tests__/ObjectTraversal.js
  5. PASS packages/node/__tests__/TimerController2.js
  6. PASS packages/util/__tests__/SchemaTraversal.js
  7. PASS packages/util/__tests__/util.js
  8. PASS packages/util/__tests__/ref.js
  9. PASS packages/node/__tests__/TimerController.js
  10. PASS packages/util/__tests__/matchesInterface.js
  11. PASS packages/node/__tests__/LogController.js
  12. PASS packages/web/__tests__/gtree.js
  13. PASS packages/util/__tests__/RefTraversal.js
  14. FAIL packages/api/__tests__/index.js
  15. ● Test suite failed to run
  16.  
  17. Your test suite must contain at least one test.
  18.  
  19. at node_modules/@jest/core/build/TestScheduler.js:242:24
  20. at asyncGeneratorStep (node_modules/@jest/core/build/TestScheduler.js:131:24)
  21. at _next (node_modules/@jest/core/build/TestScheduler.js:151:9)
  22. at node_modules/@jest/core/build/TestScheduler.js:156:7
  23. at node_modules/@jest/core/build/TestScheduler.js:148:12
  24. at onResult (node_modules/@jest/core/build/TestScheduler.js:271:25)
  25.  
  26. FAIL packages/hooks/__tests__/index.js
  27. ● Test suite failed to run
  28.  
  29. Your test suite must contain at least one test.
  30.  
  31. at node_modules/@jest/core/build/TestScheduler.js:242:24
  32. at asyncGeneratorStep (node_modules/@jest/core/build/TestScheduler.js:131:24)
  33. at _next (node_modules/@jest/core/build/TestScheduler.js:151:9)
  34. at node_modules/@jest/core/build/TestScheduler.js:156:7
  35. at node_modules/@jest/core/build/TestScheduler.js:148:12
  36. at onResult (node_modules/@jest/core/build/TestScheduler.js:271:25)
  37.  
  38. PASS packages/common/__tests__/program.js (26.21s)
  39. FAIL packages/broker/__tests__/index.js
  40. ● Test suite failed to run
  41.  
  42. Your test suite must contain at least one test.
  43.  
  44. at node_modules/@jest/core/build/TestScheduler.js:242:24
  45. at asyncGeneratorStep (node_modules/@jest/core/build/TestScheduler.js:131:24)
  46. at _next (node_modules/@jest/core/build/TestScheduler.js:151:9)
  47. at node_modules/@jest/core/build/TestScheduler.js:156:7
  48. at node_modules/@jest/core/build/TestScheduler.js:148:12
  49. at onResult (node_modules/@jest/core/build/TestScheduler.js:271:25)
  50.  
  51. Test Suites: 3 failed, 11 passed, 14 total
  52. Tests: 338 passed, 338 total
  53. Snapshots: 0 total
  54. Time: 40.401s
  55. Ran all test suites.
  56. error Command failed with exit code 1.
  57. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  58. ☁ membrane [master] ⚡
  59. ☁ membrane [master] ⚡ yarn test
  60. yarn run v1.15.2
  61. $ jest --forceExit --detectOpenHandles --useStderr
  62. PASS packages/common/__tests__/program.js (25.988s)
  63.  
  64. ● Cannot log after tests are done. Did you forget to wait for something async in your test?
  65. Attempted to log "Failed to connect to message queue.".
  66.  
  67. 73 | });
  68. 74 | } catch (e) {
  69. > 75 | console.log('Failed to connect to message queue.');
  70. | ^
  71. 76 | console.log(e);
  72. 77 | shutdown();
  73. 78 | }
  74.  
  75. at BufferedConsole.log (node_modules/@jest/console/build/BufferedConsole.js:199:10)
  76. at log (packages/common/lib/queueService.js:75:13)
  77.  
  78.  
  79. ● Cannot log after tests are done. Did you forget to wait for something async in your test?
  80. Attempted to log "{ Error: connect ECONNREFUSED 127.1.27.7:5672
  81. at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1088:14)
  82. errno: 'ECONNREFUSED',
  83. code: 'ECONNREFUSED',
  84. syscall: 'connect',
  85. address: '127.1.27.7',
  86. port: 5672 }".
  87.  
  88. 74 | } catch (e) {
  89. 75 | console.log('Failed to connect to message queue.');
  90. > 76 | console.log(e);
  91. | ^
  92. 77 | shutdown();
  93. 78 | }
  94. 79 | }
  95.  
  96. errno: 'ECONNREFUSED',
  97. code: 'ECONNREFUSED',
  98. syscall: 'connect',
  99. address: '127.1.27.7',
  100. port: 5672 }".
  101. at BufferedConsole.log (node_modules/@jest/console/build/BufferedConsole.js:199:10)
  102. at log (packages/common/lib/queueService.js:76:13)
  103.  
  104. ● process.exit called with "1"
  105.  
  106. 80 |
  107. 81 | function shutdown() {
  108. > 82 | process.exit(1);
  109. | ^
  110. 83 | } // Attempt the initial connection
  111. 84 |
  112. 85 |
  113.  
  114. at exit (packages/common/lib/queueService.js:82:11)
  115. at shutdown (packages/common/lib/queueService.js:77:5)
  116.  
  117. RUNS packages/node/__tests__/TimerController.js
  118. error Command failed with exit code 1.
  119. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  120. ☁ membrane [master] ⚡
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement