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

Add A & AAAA record support #12

Merged
merged 4 commits into from
May 6, 2016
Merged

Add A & AAAA record support #12

merged 4 commits into from
May 6, 2016

Conversation

jlucidar
Copy link
Contributor

@jlucidar jlucidar commented May 4, 2016

If you register a new service, the addresses' field of your service is now being populated with the IP addresses of the machine.

@watson
Copy link
Owner

watson commented May 6, 2016

@jlucidar Thanks a lot for the pull request 😃

There's a few tests that are failing related to styling. Please update the styling to match the styling used so that the tests parse.

@jlucidar
Copy link
Contributor Author

jlucidar commented May 6, 2016

Hi @watson,
Everything looks good now. I modified the test to include the new changes.

@jlucidar jlucidar closed this May 6, 2016
@watson watson reopened this May 6, 2016
@@ -135,6 +151,7 @@ test('bonjour.findOne - emitter', function (bonjour, t) {
var browser = bonjour.findOne({ type: 'test' })
browser.on('up', function (s) {
t.equal(s.name, 'Emitter')
browser.stop()
Copy link
Owner

Choose a reason for hiding this comment

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

How come you added the browser.stop() calls a few places? Did the event loop hang?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no, it was one of my tentative to fix a bug that I didn't clear ... I can remove it if you want me to.
for whatever reason, the buildServicesFor function acted weirdly during the test; it was pushing duplicate addresses to the addresses field.
I resolved it, but I can't really explain why it was doing that.

Copy link
Owner

Choose a reason for hiding this comment

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

no problem - I removed it my self :)

@watson watson merged commit 4240426 into watson:master May 6, 2016
watson added a commit that referenced this pull request May 6, 2016
@watson
Copy link
Owner

watson commented May 6, 2016

@jlucidar thanks again for the PR 😄 It's now published as v3.4.0 on npm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants