Skip to content

Failing test for server.ext with complex deps.#2642

Merged
hueniverse merged 6 commits intohapijs:masterfrom
devinivy:topo-ext-test
Jul 29, 2015
Merged

Failing test for server.ext with complex deps.#2642
hueniverse merged 6 commits intohapijs:masterfrom
devinivy:topo-ext-test

Conversation

@devinivy
Copy link
Copy Markdown
Member

Using server.ext option before as an array misbehaves, essentially ignoring the dependencies.

Root cause in topo has a pending PR: hapijs/topo#7. I've verified that patching topo allows all tests to pass.

@hueniverse
Copy link
Copy Markdown
Contributor

Can you rewrite this test not to change existing tests? Just add a new it() block that doesn't touch all the other tests. At some point I want to break up all the common plugins used in there.

@hueniverse hueniverse self-assigned this Jul 29, 2015
@hueniverse hueniverse added the bug Bug or defect label Jul 29, 2015
@devinivy
Copy link
Copy Markdown
Member Author

Should be resolved now!

test/plugin.js Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use the internals plugin here. Create three new ones inside the test.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, given what you said. I made those updates for you.

@hueniverse hueniverse added this to the 8.8.1 milestone Jul 29, 2015
hueniverse pushed a commit that referenced this pull request Jul 29, 2015
Failing test for `server.ext` with complex deps.
@hueniverse hueniverse merged commit f11237a into hapijs:master Jul 29, 2015
@lock
Copy link
Copy Markdown

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.

2 participants