-
Notifications
You must be signed in to change notification settings - Fork 56
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
t2 list --lan should dedupe output #719
Comments
Yikes, definitely needs to be deduped. Start here: https://github.com/tessel/t2-cli/blob/master/lib/controller.js#L93-L107 |
Thanks for bringing this up @boneskull! |
rwaldron
added a commit
to rwaldron/t2-cli
that referenced
this issue
Jul 20, 2016
The problem here was: 1. Nothing was actually being put into `this.discovered` 2. Even if there had been, the test we did have would've passed anyway because it just put a number in the list and then emitted a number. That would assume that the thing put into `this.discovered` had the same object identity as the thing being checked, which is wrong. Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
rwaldron
added a commit
to rwaldron/t2-cli
that referenced
this issue
Jul 20, 2016
The problem here was: 1. Nothing was actually being put into `this.discovered` 2. Even if there had been, the test we did have would've passed anyway because it just put a number in the list and then emitted a number. That would assume that the thing put into `this.discovered` had the same object identity as the thing being checked, which is wrong. Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
rwaldron
added a commit
to rwaldron/t2-cli
that referenced
this issue
Jul 20, 2016
The problem here was: 1. Nothing was actually being put into `this.discovered` 2. Even if there had been, the test we did have would've passed anyway because it just put a number in the list and then emitted a number. That would assume that the thing put into `this.discovered` had the same object identity as the thing being checked, which is wrong. Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When your local machine has n network interfaces connected to the same network, each Tessel will show n times in the resulting list (in theory):
See the single machine:
I'm also wondering if you have your Tessel plugged into ethernet and connected via WiFi, it won't show 2_n_ times...? It'd certainly have two different IP's and MAC addresses...
The text was updated successfully, but these errors were encountered: