Comments (10)
+1. I have the same issue
from karma-junit-reporter.
hm.. but seems the issue is not here..
@ianwremmel do you use karma 0.12 with karma-ievms?
from karma-junit-reporter.
Nope, not familiar with karma-ievms.
Here's the relevant portion of package.json:
"karma": "~0.12.28",
"karma-browserify": "~3.0.1",
"karma-chrome-launcher": "~0.1.7",
"karma-coverage": "~0.2.7",
"karma-firefox-launcher": "~0.1.3",
"karma-junit-reporter": "~0.2.2",
"karma-mocha": "~0.1.10",
"karma-mocha-reporter": "~0.3.1",
"karma-safari-launcher": "~0.1.1",
"karma-sauce-launcher": "~0.2.10",
As I said, I've looked at karma-junit-reporter to try to figure out what's going on and nothing seems obvious. Since it happens intermittently, I have to assume it's a race condition somewhere where one of the events is firing before/after the the xml file has been opened/closed.
I know I've seen the problem when using karma-sauce-launcher and I'm pretty sure I've seen it using the karma-chrome-launcher. In the all of the cases I've seen it, I've been using the mocha reporter and I think I've been using the coverage reporter for all of them.
from karma-junit-reporter.
+1. I have the same issue
I have noticed that it only occurs when I run it as an npm task. If I execute ./node_modules/.bin/karma start karma.js
from the command line the error does not occur. For now I have my pre-commit hook run it as a make command.
from karma-junit-reporter.
This just flaked for us as well on jenkins. Doesn't happen consistently.
Missing error handler on `socket`.
TypeError: Cannot read property 'ele' of undefined
at specSuccess.specSkipped.specFailure (/node_modules/karma-junit-reporter/index.js:93:34)
at onSpecComplete (/node_modules/karma/lib/reporters/base.js:78:12)
at null.<anonymous> (/node_modules/karma/lib/events.js:13:22)
at emit (events.js:129:20)
at onResult (/node_modules/karma/lib/browser.js:216:13)
"karma": "0.13.9",
"karma-browserify": "4.3.0",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "0.2.0",
"karma-firefox-launcher": "0.1.6",
"karma-junit-reporter": "0.3.4",
"karma-mocha": "0.2.0",
"karma-qunit": "0.1.5",
"karma-safari-launcher": "0.1.1",
"karma-sinon": "1.0.4",
"karma-source-map-support": "1.0.0",
from karma-junit-reporter.
@TheSavior if it helps I noticed I only have issues when I node version 0.10.32. When I use version 0.11.14 I have no issues.
from karma-junit-reporter.
Hmm. We are on 0.12.0
from karma-junit-reporter.
We are seeing this error if we use non ascii text in karma test:
it("interpoleer drglpt zonder coordinaten en met één verbonden drglpt", function() {
//fails
}
if we change to:
it("interpoleer drglpt zonder coordinaten en met 1 verbonden drglpt", function() {
//succeeds
}
it all works, is there an encoding problem somewhere?
from karma-junit-reporter.
I have this issue and it turn out I have many phantomjs instance running in background. killall phantomjs
fixed it
from karma-junit-reporter.
from karma-junit-reporter.
Related Issues (20)
- Question about CLA and License HOT 4
- License of XSD file HOT 1
- Project Lifetime HOT 2
- Readme should say to add module as a plugin in karma.conf.js HOT 1
- Where does 2.0.0 come from? HOT 1
- Testcase name must be escaped HOT 2
- Text string with emoji crashes the karma HOT 3
- npm audit vulnerability with xmlbuilder package HOT 1
- Please consider releasing a new version. HOT 1
- Suite (package) name is not prepended to the classname attribute in the testcase element
- How to give custom test suite name using karma junit reporter? HOT 2
- Replacement of Path-is-absolute dependency HOT 1
- Windows machines not reporting browser and OS HOT 2
- Warnings HOT 2
- false positive failure with junit on skipped tests
- Any word on 2.0.2
- sometimes junit-reported just doesn't generate reports HOT 11
- link at bottom of readme should point to .io
- Reestablish CI/CD with GitHub Actions
- Is the project still maintained? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from karma-junit-reporter.