Skip to content

Conversation

@Marsup
Copy link
Contributor

@Marsup Marsup commented Sep 16, 2014

Undefined options out of bossy are all set to undefined, just checking for hasOwnProperty is not enough.
Since everything was defined, all timeouts were overridden to undefined, so nothing was waiting for the tests to finish, hence the even loop was dry, which caused the #209 premature exit.
Hope that was clear :)

@nlf
Copy link
Member

nlf commented Sep 16, 2014

Nice catch!

@geek geek added the bug Bug or defect label Sep 16, 2014
@geek geek added this to the 4.5.0 milestone Sep 16, 2014
@geek geek self-assigned this Sep 16, 2014
geek added a commit that referenced this pull request Sep 16, 2014
Fix #209: omit undefined options
@geek geek merged commit 2c20fae into hapijs:master Sep 16, 2014
@Marsup Marsup deleted the fix209 branch September 16, 2014 17:37
@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Bug or defect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants