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

Laika broke with 0.8.1 #117

Open
AdamBrodzinski opened this issue May 5, 2014 · 4 comments
Open

Laika broke with 0.8.1 #117

AdamBrodzinski opened this issue May 5, 2014 · 4 comments

Comments

@AdamBrodzinski
Copy link
Contributor

After i've updated my app to 0.8.1.1, my tests hang and timeout. I can make them pass by changing .meteor/release to 0.8.0.1. From what I can tell, it's only affected by the client tests.

I've also replicated this by cloning down hello-laika. I pasted the output below:

hello-laika-master|⇒ laika -v
0.3.9
hello-laika-master|⇒ laika

  injecting laika...
  loading phantomjs...
  loading initial app pool...


  Posts
    ✓ in the server
    ✓ using both client and the server
    ✓ using two clients


  3 passing (981ms)

  cleaning up injected code
hello-laika-master|⇒ meteor update
hello-laika-master: updated to Meteor 0.8.1.1.

-- Notice --

0.8.0: Meteor has a new live templating engine: Blaze!
       See https://github.com/meteor/meteor/wiki/Using-Blaze for what's new.
hello-laika-master|⇒ laika

  injecting laika...
  loading phantomjs...
  loading initial app pool...


  Posts
    ✓ in the server
    ✓ using both client and the server
    1) using two clients


  2 passing (5s)
  1 failing

  1) Posts using two clients:
     Error: timeout of 5000ms exceeded
      at null.<anonymous> (/usr/local/lib/node_modules/laika/node_modules/mocha/lib/runnable.js:175:14)
      at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)



  cleaning up injected code

change release back to 0.8.0.1

hello-laika-master|⇒ vim .meteor/release
hello-laika-master|⇒ laika

  injecting laika...
  loading phantomjs...
  loading initial app pool...


  Posts
    ✓ in the server
    ✓ using both client and the server
    ✓ using two clients


  3 passing (845ms)

  cleaning up injected code

I hope this helps!

@AdamBrodzinski
Copy link
Contributor Author

Perhaps this is from a change with 'css-stringify'.

@Linskeyd
Copy link

Linskeyd commented May 9, 2014

Hey Adam please take a look at issue #77 that was closed a while ago. I wonder if third test failing is related to this somehow? Adding in server side evals which do nothing on each test that uses only client calls allows the tests to pass, but they take around 1.3 seconds to complete which is pretty long.

@AdamBrodzinski
Copy link
Contributor Author

@Linskeyd I just tried that but it doesn't make a difference.

However.... while trying that, one time I started up mongod without the --smallfiles --noprealloc --nojournal and they all passed 😄 Thanks!

passing:
mongod

client tests fail:
mongod --smallfiles --noprealloc --nojournal

@Linskeyd
Copy link

Linskeyd commented May 9, 2014

@AdamBrodzinski It worked for me too!! Thanks 😄

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

2 participants