Skip to content

Some tests return a reject but won't break the overall tests #2115

Closed

Description

@pmuens

This is a "Bug Report"

Description

If one runs npm test all our unit tests are run. However if you look closely at the output you can
see some rejection printings (See screenshot below).

bildschirmfoto 2016-09-13 um 13 53 55

/cc @flomotlik @eahefnawy

Activity

  1. eahefnawy commented on Sep 14, 2016

    @eahefnawy
    Contributor

    @pmuens I noticed this before and I investigated, it's not really a failure from our core code base, it's actually a mocked failure in the unit tests due to --noDeploy tests.

  2. pmuens commented on Sep 14, 2016

    @pmuens
    ContributorAuthor

    Interesting. Should we do anything about it soon?

    BTW. Could you point me to the tests which are causing this mocked failure? Thanks!

  3. eahefnawy commented on Sep 14, 2016

    @eahefnawy
    Contributor

    Something going on here and here.

  4. rowanu commented on Sep 15, 2016

    @rowanu
    Contributor

    Just to add to this issue since I've been looking at those tests (for PR #2125 to address #2087) - this functionality seems to assume that sls will see all the CFN events (specifically the failures) but depending on the polling interval some events may be missed, meaning sls doesn't actually know why a stack has failed.

    I basically want to question the value of these tests, so if they're also causing other issues they might be eligible for removal (due to lack of ROI).

  5. flomotlik commented on Nov 5, 2016

    @flomotlik
    Contributor

    @pmuens whats the status of this?

  6. pmuens commented on Nov 7, 2016

    @pmuens
    ContributorAuthor

    I talked with @eahefnawy about this and it's not a problem as far as I remember.

    It's a Promise problem. Maybe @eahefnawy can shed some light into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions