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

Tests are being run multiple times in a row #393

Closed
ProLoser opened this issue Mar 13, 2013 · 10 comments
Closed

Tests are being run multiple times in a row #393

ProLoser opened this issue Mar 13, 2013 · 10 comments

Comments

@ProLoser
Copy link

I'm not sure why it appears that the test suite is running over and over:

https://travis-ci.org/angular-ui/ui-select2/builds/5462673

The repo in question:

https://github.com/angular-ui/ui-select2

@vojtajina
Copy link
Contributor

Can you run it with dots reporter ? Because the output is messed, as
there are some logs mixed with progress reporter.

On Tue, Mar 12, 2013 at 11:49 PM, Dean Sofer notifications@github.comwrote:

I'm not sure why it appears that the test suite is running over and over:

https://travis-ci.org/angular-ui/ui-select2/builds/5462673

The repo in question:

https://github.com/angular-ui/ui-select2


Reply to this email directly or view it on GitHubhttps://github.com/testacular/testacular/issues/393
.

@ProLoser
Copy link
Author

Seems to be working now https://travis-ci.org/angular-ui/ui-select2/builds/5537406

@jayrmotta
Copy link

I'm having this issue, I execute my jasmine tests with karma on top of grunt. Every time I run my tests I get something like this:

Running "karma:single" (karma) task
INFO [karma]: Karma v0.12.9 server started at http://localhost:8080/
INFO [launcher]: Starting browser PhantomJS
WARN [watcher]: Pattern "/Users/jayrmotta/Documents/codes/zup/cockpit-api-front/test/mock/**/*.js" does not match any file.
INFO [PhantomJS 1.9.7 (Mac OS X)]: Connected on socket YxzgFMaDXQ7giOov_P6g with id 3832205
INFO [PhantomJS 1.9.7 (Mac OS X)]: Connected on socket XAwmIOsmd7I3hz-__P6h with id 5675816
INFO [PhantomJS 1.9.7 (Mac OS X)]: Connected on socket MHI-GLpbWqOHKBa__P6i with id 55968767
INFO [PhantomJS 1.9.7 (Mac OS X)]: Connected on socket CUuI64ZM7VQKfdRz_P6j with id 80424482
....................
PhantomJS 1.9.7 (Mac OS X): Executed 5 of 5 SUCCESS (0.04 secs / 0.047 secs)
PhantomJS 1.9.7 (Mac OS X): Executed 5 of 5 SUCCESS (0.077 secs / 0.041 secs)
PhantomJS 1.9.7 (Mac OS X): Executed 5 of 5 SUCCESS (0.144 secs / 0.052 secs)
PhantomJS 1.9.7 (Mac OS X): Executed 5 of 5 SUCCESS (0.103 secs / 0.058 secs)
INFO [PhantomJS 1.9.7 (Mac OS X)]: Connected on socket PgZmR7tTejwWCJyV_P6k with id 84178743
.....
PhantomJS 1.9.7 (Mac OS X): Executed 5 of 5 SUCCESS (0.039 secs / 0.023 secs)
TOTAL: 25 SUCCESS

Done, without errors.

Can you help me figure out what could be causing this? Thanks in advance!

@heartforit
Copy link

Hi, same for me.

i am running an jasmine test with two test cases in it and it runs 30. times in a row. :(

I am using the latest version of karma (0.12.31)

@justinIs
Copy link

justinIs commented Sep 8, 2015

Same issue for me, however I get an error on my third try:

*-web$ grunt karma:store
Running "karma:store" (karma) task
08 09 2015 12:07:30.011:INFO [karma]: Karma v0.13.9 server started at http://localhost:9876/
08 09 2015 12:07:30.019:INFO [launcher]: Starting browser Chrome
08 09 2015 12:07:30.972:INFO [Chrome 45.0.2454 (Mac OS X 10.10.5)]: Connected on socket yg--JmBSGa5yqVSxAAAA with id 41886837
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 9 of 9 SUCCESS (0 secs / 0.396 secs)
ERROR: 'RefererNotAllowedMapError: https://developers.google.com/console/help/new/#apikeybestpractices'
ALERT: 'This page was unable to display a Google Maps element. The provided Google API key is invalid or this site is not authorized to use it. Error Code: InvalidKeyOrUnauthorizedURLMapError'
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 9 of 9 SUCCESS (0 secs / 0.396 secs)
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 9 of 9 DISCONNECTED (12.304 secs / 0.396 secs)
Warning: Task "karma:store" failed. Use --force to continue.

Aborted due to warnings.

@rockyromano
Copy link

Same issue for me as well.

PhantomJS 1.9.8 (Mac OS X 0.0.0): Executed 12 of 13 (skipped 1) SUCCESS (0.003 secs / 0.518 secs) PhantomJS 1.9.8 (Mac OS X 0.0.0): Executed 12 of 13 (skipped 1) SUCCESS (0.003 secs / 0.586 secs) Chrome 51.0.2704 (Mac OS X 10.9.5): Executed 12 of 13 (skipped 1) SUCCESS (1.007 secs / 0.932 secs) TOTAL: 36 SUCCESS

@rwslinkman
Copy link

I'm having the same problem

INFO [karma]: Karma v1.1.2 server started at http://localhost:9876/
INFO [launcher]: Launching browser Chrome with concurrency 1
INFO [launcher]: Starting browser Chrome
INFO [Chrome 51.0.2704 (Mac OS X 10.11.5)]:  Connected on socket /#d1yxC0yC6OgxMFmBAAAA with id 36508617
Chrome 51.0.2704 (Mac OS X 10.11.5): Executed 0 of 2 SUCCESS (0 secs / 0 secs)
Chrome 51.0.2704 (Mac OS X 10.11.5): Executed 1 of 2 SUCCESS (0 secs / 0.002 secs)
Chrome 51.0.2704 (Mac OS X 10.11.5): Executed 2 of 2 SUCCESS (0 secs / 0.003 secs)
Chrome 51.0.2704 (Mac OS X 10.11.5): Executed 2 of 2 SUCCESS (0.045 secs / 0.003 secs)

@smcauliffe
Copy link

Anyone know why this happens?

@pebanfield
Copy link

I just noticed that my configuration is running tests in all configured browsers. So while I just have one test in my suite, I still see TOTAL: 2 SUCCESS. Looking more closely, I can see that the single test is running in both Chrome and PhantomJS. Could this be this issue?

@lbouriez
Copy link

Having the same issue, any idea ?

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

10 participants