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

Random failures with uncaught errors and missing tests #44

Open
1 task
leonliang33 opened this issue Sep 30, 2019 · 0 comments
Open
1 task

Random failures with uncaught errors and missing tests #44

leonliang33 opened this issue Sep 30, 2019 · 0 comments

Comments

@leonliang33
Copy link

leonliang33 commented Sep 30, 2019

  • **I'm submitting a ... **

    • [ x ] bug report
    • feature request
  • What is the current behavior?
    I'm getting random failures, but the two most common ones are:

  1. Uncaught thrown
    2019-09-30T19:09:52.2574352Z 13 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
    2019-09-30T19:09:52.2574398Z 13 verbose stack at EventEmitter.emit (events.js:189:13)
    2019-09-30T19:09:52.2574455Z 13 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
    2019-09-30T19:09:52.2574500Z 13 verbose stack at ChildProcess.emit (events.js:189:13)
    2019-09-30T19:09:52.2574656Z 13 verbose stack at maybeClose (internal/child_process.js:970:16)
    2019-09-30T19:09:52.2574720Z 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)

  2. Uncaught Error: No Handler could handle this request. [object Object] thrown
    13 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
    13 verbose stack at EventEmitter.emit (events.js:189:13)
    13 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
    13 verbose stack at ChildProcess.emit (events.js:189:13)
    13 verbose stack at maybeClose (internal/child_process.js:970:16)
    13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)

Note: this does not happen all the time, only 25% and the tests are really simple
it('should be created', () => {
expect(component).toBeTruthy();
});

I also noticed that the tests that did pass simply, skipped over half the tests. For example:
Passed: had a total of 228
Failed: had a total of 526 (in which one would always fail for some random uncaught errors)
Does anyone know what this could be?

  • Please tell us about your environment:
    "karma": "^4.3.0",
    "karma-chrome-launcher": "^3.1.0",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "karma-parallel": "^0.3.1",
    "karma-spec-reporter": "0.0.32",
    "ng-bullet": "^1.0.3",
  • version: 2.0.0-beta.X
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
  • Language: [all | TypeScript X.X | ES6/7 | ES5 | Dart]
@leonliang33 leonliang33 changed the title Random failures with uncaught errors Random failures with uncaught errors and missing tests Sep 30, 2019
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