Guest User

Integration test errors

a guest
Mar 7th, 2020
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.91 KB | None | 0 0
  1. naviji@naviji-HP-Notebook:~/Projects/RoughWork/joplin/CliClient$ npm run test -- --filter="integration_ShowAllNotes"
  2.  
  3. > joplin@1.0.161 test /home/naviji/Projects/RoughWork/joplin/CliClient
  4. > gulp buildTests -L && jasmine --config=tests/support/jasmine.json "--filter=integration_ShowAllNotes"
  5.  
  6. Testing with sync target: memory
  7. Randomized with seed 36073
  8. Started
  9. ..
  10.  
  11.  
  12. Ran 2 of 240 specs
  13. 2 specs, 0 failures
  14. Finished in 12.66 seconds
  15. Randomized with seed 36073 (jasmine --random=true --seed=36073)
  16.  
  17.  
  18. -------------------------------------------------------------------
  19.  
  20.  
  21. naviji@naviji-HP-Notebook:~/Projects/RoughWork/joplin/CliClient$ npm run test -- --filter="integration_ShowAllNotes"
  22.  
  23. > joplin@1.0.161 test /home/naviji/Projects/RoughWork/joplin/CliClient
  24. > gulp buildTests -L && jasmine --config=tests/support/jasmine.json "--filter=integration_ShowAllNotes"
  25.  
  26.  
  27. Testing with sync target: memory
  28. Randomized with seed 70532
  29. Started
  30. .F
  31.  
  32. Failures:
  33. 1) integration_ShowAllNotes should show retain note selection when going from a folder to all-notes
  34. Message:
  35. Unhandled promise rejection: Error: Accessing database before it has been initialised
  36. Stack:
  37. Error: Accessing database before it has been initialised
  38. at Function.db (/home/naviji/Projects/RoughWork/joplin/CliClient/tests-build/lib/BaseModel.js:546:24)
  39. at Function.add (/home/naviji/Projects/RoughWork/joplin/CliClient/tests-build/lib/models/ItemChange.js:24:15)
  40. at processTicksAndRejections (internal/process/task_queues.js:97:5)
  41.  
  42. Ran 2 of 240 specs
  43. 2 specs, 1 failure
  44. Finished in 7.051 seconds
  45. Randomized with seed 70532 (jasmine --random=true --seed=70532)
  46. npm ERR! code ELIFECYCLE
  47. npm ERR! errno 1
  48. npm ERR! joplin@1.0.161 test: `gulp buildTests -L && jasmine --config=tests/support/jasmine.json "--filter=integration_ShowAllNotes"`
  49. npm ERR! Exit status 1
  50. npm ERR!
  51. npm ERR! Failed at the joplin@1.0.161 test script.
  52. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  53.  
  54. npm ERR! A complete log of this run can be found in:
  55. npm ERR! /home/naviji/.npm/_logs/2020-03-07T15_19_28_701Z-debug.log
  56.  
  57. --------------------------------
  58.  
  59. naviji@naviji-HP-Notebook:~/Projects/RoughWork/joplin/CliClient$ npm run test -- --filter="integration_ShowAllNotes"
  60.  
  61. > joplin@1.0.161 test /home/naviji/Projects/RoughWork/joplin/CliClient
  62. > gulp buildTests -L && jasmine --config=tests/support/jasmine.json "--filter=integration_ShowAllNotes"
  63.  
  64. Testing with sync target: memory
  65. Randomized with seed 11368
  66. Started
  67. .F
  68.  
  69. Failures:
  70. 1) integration_ShowAllNotes should show all notes
  71. Message:
  72. Expected $.length = 0 to equal 9.
  73. Expected $[0] = undefined to equal '04cfd7bc219e457a97df40d322c22de7'.
  74. Expected $[1] = undefined to equal '1a4ef57bed0c44c4bbb77c8605eb83f3'.
  75. Expected $[2] = undefined to equal '202a05f098374871a6f4fdb31915de56'.
  76. Expected $[3] = undefined to equal '2e0457f00c7143c1a81df6d4a8493fdf'.
  77. Expected $[4] = undefined to equal '41641b3083cc44b1a375506f70b94955'.
  78. Expected $[5] = undefined to equal '497b9117ea4140768f966d7c7d761cba'.
  79. Expected $[6] = undefined to equal '4b35144fcee942f6b5bbbbfdb791eede'.
  80. Expected $[7] = undefined to equal '9651592edca440b8b0072a0c272aa8fb'.
  81. Expected $[8] = undefined to equal 'd025a93b314849c0a129e52c107cdffd'.
  82. Stack:
  83. Error: Expected $.length = 0 to equal 9.
  84. Expected $[0] = undefined to equal '04cfd7bc219e457a97df40d322c22de7'.
  85. Expected $[1] = undefined to equal '1a4ef57bed0c44c4bbb77c8605eb83f3'.
  86. Expected $[2] = undefined to equal '202a05f098374871a6f4fdb31915de56'.
  87. Expected $[3] = undefined to equal '2e0457f00c7143c1a81df6d4a8493fdf'.
  88. Expected $[4] = undefined to equal '41641b3083cc44b1a375506f70b94955'.
  89. Expected $[5] = undefined to equal '497b9117ea4140768f966d7c7d761cba'.
  90. Expected $[6] = undefined to equal '4b35144fcee942f6b5bbbbfdb791eede'.
  91. Expected $[7] = undefined to equal '9651592edca440b8b0072a0c272aa8fb'.
  92. Expected $[8] = undefined to equal 'd025a93b314849c0a129e52c107cdffd'.
  93. at <Jasmine>
  94. at /home/naviji/Projects/RoughWork/joplin/CliClient/tests-build/integration_ShowAllNotes.js:62:34
  95. at async UserContext.<anonymous> (/home/naviji/Projects/RoughWork/joplin/CliClient/tests-build/test-utils.js:372:4)
  96.  
  97. Ran 2 of 240 specs
  98. 2 specs, 1 failure
  99. Finished in 12.783 seconds
  100. Randomized with seed 11368 (jasmine --random=true --seed=11368)
  101. npm ERR! code ELIFECYCLE
  102. npm ERR! errno 1
  103. npm ERR! joplin@1.0.161 test: `gulp buildTests -L && jasmine --config=tests/support/jasmine.json "--filter=integration_ShowAllNotes"`
  104. npm ERR! Exit status 1
  105. npm ERR!
  106. npm ERR! Failed at the joplin@1.0.161 test script.
  107. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  108.  
  109. npm ERR! A complete log of this run can be found in:
  110. npm ERR! /home/naviji/.npm/_logs/2020-03-07T15_23_08_647Z-debug.log
Add Comment
Please, Sign In to add comment