You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Some tests return a reject but won't break the overall tests #2115
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).
@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.
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).
Activity
eahefnawy commentedon Sep 14, 2016
@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
--noDeploytests.pmuens commentedon Sep 14, 2016
Interesting. Should we do anything about it soon?
BTW. Could you point me to the tests which are causing this mocked failure? Thanks!
eahefnawy commentedon Sep 14, 2016
Something going on here and here.
rowanu commentedon Sep 15, 2016
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
slswill see all the CFN events (specifically the failures) but depending on the polling interval some events may be missed, meaningslsdoesn'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).
flomotlik commentedon Nov 5, 2016
@pmuens whats the status of this?
pmuens commentedon Nov 7, 2016
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.