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

Integration tests fail first time on a new installation #14

Open
kentquirk opened this issue Apr 30, 2014 · 1 comment
Open

Integration tests fail first time on a new installation #14

kentquirk opened this issue Apr 30, 2014 · 1 comment
Labels

Comments

@kentquirk
Copy link
Contributor

I've had this happen twice after a clean checkout -- run grunt test and see this:

    messaging for mrT1
      ✓ allows mrT1 to add a note (124ms)
      ✓ and add a comment on the note (42ms)
      ✓ and then get the whole thread (55ms)
      1) allows mrT1 to get all messages for his team for the last two weeks
      ✓ allows mrT1 to get just the parent messages for his team  (49ms)

...

  20 passing (2s)
  1 failing

  1) platform client messaging for mrT1 allows mrT1 to get all messages for his team for the last two weeks:
     Uncaught AssertionError: expected 1 to be at least 2

When you run the test a second time, it works. Is the test reliant on having data around from previous tests? This isn't critical, but should be addressed someday.

@kentquirk kentquirk added the bug label Apr 30, 2014
@jh-bate
Copy link
Contributor

jh-bate commented Apr 30, 2014

Hi Kent,

It shouldn't but I will have a quick look.
On May 1, 2014 9:02 AM, "Kent Quirk" [email protected] wrote:

I've had this happen twice -- run grunt test and see this:

messaging for mrT1
  ✓ allows mrT1 to add a note (124ms)
  ✓ and add a comment on the note (42ms)
  ✓ and then get the whole thread (55ms)
  1) allows mrT1 to get all messages for his team for the last two weeks
  ✓ allows mrT1 to get just the parent messages for his team  (49ms)

...

20 passing (2s)
1 failing

  1. platform client messaging for mrT1 allows mrT1 to get all messages for his team for the last two weeks:
    Uncaught AssertionError: expected 1 to be at least 2

When you run the test a second time, it works. Is the test reliant on
having data around from previous tests? This isn't critical, but should be
addressed someday.


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

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