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

Opera seems to block testem ci #503

Closed
MoOx opened this issue Feb 19, 2015 · 5 comments
Closed

Opera seems to block testem ci #503

MoOx opened this issue Feb 19, 2015 · 5 comments
Labels

Comments

@MoOx
Copy link

MoOx commented Feb 19, 2015

node 0.12.0
testem 0.7.0
Opera 26.0

testem.yml

framework: tap

src_files: web_modules/**/*
serve_files: dist/test.js

test.js

"use strict";
var test = require("tape")
var index = function() { return true }
test("this fails", function(t) {
  t.ok(index(), "should be true")
  t.fail("should fail cause I ask to")
  t.end()
})

Everything works and Opera seems to block the process

$ testem ci

ok 1 Chrome 40.0 - should be true
not ok 2 Chrome 40.0 - should fail cause I ask to
    ---
        id: >
            2
        ok: >
            false
        name: >
             should fail cause I ask to
        operator: >
            fail
        stack: >
            null
        Log: >
    ...
ok 3 Firefox 33.0 - should be true
not ok 4 Firefox 33.0 - should fail cause I ask to
    ---
        id: >
            2
        ok: >
            false
        name: >
             should fail cause I ask to
        operator: >
            fail
        stack: >
            null
        Log: >
    ...
ok 5 Safari 8.0 - should be true
not ok 6 Safari 8.0 - should fail cause I ask to
    ---
        id: >
            2
        ok: >
            false
        name: >
             should fail cause I ask to
        operator: >
            fail
        stack: >
            null
        Log: >
    ...
ok 7 Opera 26.0 - should be true
not ok 8 Opera 26.0 - should fail cause I ask to
    ---
        id: >
            2
        ok: >
            false
        name: >
             should fail cause I ask to
        operator: >
            fail
        stack: >
            null
        Log: >
    ...
^C
@johanneswuerbach
Copy link
Member

Thank you for the report. I see the same issue with PhantomJS 2.0 on Windows. Looks like there is a race condition in somewhere in testem.

@MoOx
Copy link
Author

MoOx commented Feb 20, 2015

It also might be the same bug as on travis #443

@johanneswuerbach
Copy link
Member

Could you check, which version of socket.io you have installed? I could reproduce the issue on 1.3.3, but not 1.3.2 and 1.3.4, maybe it is related to this socketio/socket.io#2000

@MoOx
Copy link
Author

MoOx commented Feb 20, 2015

1.3.4 for me.

@johanneswuerbach
Copy link
Member

Thanks, I see the issue now also with 1.3.4 :-/

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

No branches or pull requests

2 participants