Created
March 16, 2016 18:30
-
-
Save eriktrom/6c38c85b85b4dfa9946b to your computer and use it in GitHub Desktop.
Port Finder Test Console Logged Output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm test | |
> portfinder@1.0.2 test /Users/trom/Documents/desktop_space/Dropbox/dev/dev-oss/node-portfinder | |
> vows test/*-test.js --spec | |
♢ portfinder | |
in everyLimit() iteration callback: host is ::1 | |
entered testPort(): trying ::1 port 32768 | |
done w/ testPort(): OK ::1 port 32768 | |
in everyLimit() iteration callback testPort() callback with a success for port 32768 | |
in everyLimit() iteration callback: host is 127.0.0.1 | |
entered testPort(): trying 127.0.0.1 port 32768 | |
done w/ testPort(): OK 127.0.0.1 port 32768 | |
in everyLimit() iteration callback testPort() callback with a success for port 32768 | |
in everyLimit() iteration callback: host is 0.0.0.0 | |
entered testPort(): trying 0.0.0.0 port 32768 | |
done w/ testPort(): OK 0.0.0.0 port 32768 | |
in everyLimit() iteration callback testPort() callback with a success for port 32768 | |
in everyLimit() result callback: openPorts is [ 32768, 32768, 32768 ] | |
When using portfinder module ensure that infinite loop is not triggered | |
✓ should not get a timeout | |
♢ portfinder | |
in everyLimit() iteration callback: host is ::1 | |
entered testPort(): trying ::1 port 32768 | |
done w/ testPort(): failed ::1 w/ port 32768 with error EADDRINUSE | |
entered testPort(): trying ::1 port 32769 | |
done w/ testPort(): failed ::1 w/ port 32769 with error EADDRINUSE | |
entered testPort(): trying ::1 port 32770 | |
done w/ testPort(): failed ::1 w/ port 32770 with error EADDRINUSE | |
entered testPort(): trying ::1 port 32771 | |
done w/ testPort(): failed ::1 w/ port 32771 with error EADDRINUSE | |
entered testPort(): trying ::1 port 32772 | |
done w/ testPort(): failed ::1 w/ port 32772 with error EADDRINUSE | |
entered testPort(): trying ::1 port 32773 | |
done w/ testPort(): OK ::1 port 32773 | |
in everyLimit() iteration callback testPort() callback with a success for port 32773 | |
in everyLimit() iteration callback: host is 127.0.0.1 | |
entered testPort(): trying 127.0.0.1 port 32768 | |
done w/ testPort(): failed 127.0.0.1 w/ port 32768 with error EADDRINUSE | |
entered testPort(): trying 127.0.0.1 port 32769 | |
done w/ testPort(): failed 127.0.0.1 w/ port 32769 with error EADDRINUSE | |
entered testPort(): trying 127.0.0.1 port 32770 | |
done w/ testPort(): failed 127.0.0.1 w/ port 32770 with error EADDRINUSE | |
entered testPort(): trying 127.0.0.1 port 32771 | |
done w/ testPort(): failed 127.0.0.1 w/ port 32771 with error EADDRINUSE | |
entered testPort(): trying 127.0.0.1 port 32772 | |
done w/ testPort(): failed 127.0.0.1 w/ port 32772 with error EADDRINUSE | |
entered testPort(): trying 127.0.0.1 port 32773 | |
done w/ testPort(): OK 127.0.0.1 port 32773 | |
in everyLimit() iteration callback testPort() callback with a success for port 32773 | |
in everyLimit() iteration callback: host is 0.0.0.0 | |
entered testPort(): trying 0.0.0.0 port 32768 | |
done w/ testPort(): failed 0.0.0.0 w/ port 32768 with error EADDRINUSE | |
entered testPort(): trying 0.0.0.0 port 32769 | |
done w/ testPort(): failed 0.0.0.0 w/ port 32769 with error EADDRINUSE | |
entered testPort(): trying 0.0.0.0 port 32770 | |
done w/ testPort(): failed 0.0.0.0 w/ port 32770 with error EADDRINUSE | |
entered testPort(): trying 0.0.0.0 port 32771 | |
done w/ testPort(): failed 0.0.0.0 w/ port 32771 with error EADDRINUSE | |
entered testPort(): trying 0.0.0.0 port 32772 | |
done w/ testPort(): failed 0.0.0.0 w/ port 32772 with error EADDRINUSE | |
entered testPort(): trying 0.0.0.0 port 32773 | |
done w/ testPort(): OK 0.0.0.0 port 32773 | |
in everyLimit() iteration callback testPort() callback with a success for port 32773 | |
in everyLimit() result callback: openPorts is [ 32773, 32773, 32773 ] | |
in everyLimit() iteration callback: host is ::1 | |
entered testPort(): trying ::1 port 32774 | |
done w/ testPort(): OK ::1 port 32774 | |
in everyLimit() iteration callback testPort() callback with a success for port 32774 | |
in everyLimit() iteration callback: host is 127.0.0.1 | |
entered testPort(): trying 127.0.0.1 port 32774 | |
done w/ testPort(): OK 127.0.0.1 port 32774 | |
in everyLimit() iteration callback testPort() callback with a success for port 32774 | |
in everyLimit() iteration callback: host is 0.0.0.0 | |
entered testPort(): trying 0.0.0.0 port 32774 | |
done w/ testPort(): OK 0.0.0.0 port 32774 | |
in everyLimit() iteration callback testPort() callback with a success for port 32774 | |
in everyLimit() result callback: openPorts is [ 32774, 32774, 32774 ] | |
in everyLimit() iteration callback: host is ::1 | |
entered testPort(): trying ::1 port 32775 | |
done w/ testPort(): OK ::1 port 32775 | |
in everyLimit() iteration callback testPort() callback with a success for port 32775 | |
in everyLimit() iteration callback: host is 127.0.0.1 | |
entered testPort(): trying 127.0.0.1 port 32775 | |
done w/ testPort(): OK 127.0.0.1 port 32775 | |
in everyLimit() iteration callback testPort() callback with a success for port 32775 | |
in everyLimit() iteration callback: host is 0.0.0.0 | |
entered testPort(): trying 0.0.0.0 port 32775 | |
done w/ testPort(): OK 0.0.0.0 port 32775 | |
in everyLimit() iteration callback testPort() callback with a success for port 32775 | |
in everyLimit() result callback: openPorts is [ 32775, 32775, 32775 ] | |
When using portfinder module with 5 existing servers the getPorts() method with an argument of 3 | |
✓ should respond with the first three available ports (32773, 32774, 32775) | |
in everyLimit() iteration callback: host is ::1 | |
entered testPort(): trying ::1 port 32768 | |
done w/ testPort(): OK ::1 port 32768 | |
in everyLimit() iteration callback testPort() callback with a success for port 32768 | |
in everyLimit() iteration callback: host is 127.0.0.1 | |
entered testPort(): trying 127.0.0.1 port 32768 | |
done w/ testPort(): OK 127.0.0.1 port 32768 | |
in everyLimit() iteration callback testPort() callback with a success for port 32768 | |
in everyLimit() iteration callback: host is 0.0.0.0 | |
entered testPort(): trying 0.0.0.0 port 32768 | |
done w/ testPort(): OK 0.0.0.0 port 32768 | |
in everyLimit() iteration callback testPort() callback with a success for port 32768 | |
in everyLimit() result callback: openPorts is [ 32768, 32768, 32768 ] | |
in everyLimit() iteration callback: host is ::1 | |
entered testPort(): trying ::1 port 32769 | |
done w/ testPort(): OK ::1 port 32769 | |
in everyLimit() iteration callback testPort() callback with a success for port 32769 | |
in everyLimit() iteration callback: host is 127.0.0.1 | |
entered testPort(): trying 127.0.0.1 port 32769 | |
done w/ testPort(): OK 127.0.0.1 port 32769 | |
in everyLimit() iteration callback testPort() callback with a success for port 32769 | |
in everyLimit() iteration callback: host is 0.0.0.0 | |
entered testPort(): trying 0.0.0.0 port 32769 | |
done w/ testPort(): OK 0.0.0.0 port 32769 | |
in everyLimit() iteration callback testPort() callback with a success for port 32769 | |
in everyLimit() result callback: openPorts is [ 32769, 32769, 32769 ] | |
in everyLimit() iteration callback: host is ::1 | |
entered testPort(): trying ::1 port 32770 | |
done w/ testPort(): OK ::1 port 32770 | |
in everyLimit() iteration callback testPort() callback with a success for port 32770 | |
in everyLimit() iteration callback: host is 127.0.0.1 | |
entered testPort(): trying 127.0.0.1 port 32770 | |
done w/ testPort(): OK 127.0.0.1 port 32770 | |
in everyLimit() iteration callback testPort() callback with a success for port 32770 | |
in everyLimit() iteration callback: host is 0.0.0.0 | |
entered testPort(): trying 0.0.0.0 port 32770 | |
done w/ testPort(): OK 0.0.0.0 port 32770 | |
in everyLimit() iteration callback testPort() callback with a success for port 32770 | |
in everyLimit() result callback: openPorts is [ 32770, 32770, 32770 ] | |
When using portfinder module with no existing servers the getPorts() method with an argument of 3 | |
✓ should respond with the first three available ports (32768, 32769, 32770) | |
♢ portfinder | |
When using portfinder module with 5 existing servers the getPort() method | |
✓ should respond with the first free socket (test5.sock) | |
When using portfinder module with no existing servers the getSocket() method with a directory that exists | |
✓ should respond with the first free socket (exists.sock) | |
When using portfinder module with no existing servers the getSocket() method with a directory that doesnt exist | |
✓ should respond with the first free socket (test.sock) | |
When the tests are over | |
✓ necessary cleanup should have taken place | |
♢ portfinder | |
in everyLimit() iteration callback: host is ::1 | |
entered testPort(): trying ::1 port 32768 | |
done w/ testPort(): failed ::1 w/ port 32768 with error EADDRINUSE | |
entered testPort(): trying ::1 port 32769 | |
done w/ testPort(): failed ::1 w/ port 32769 with error EADDRINUSE | |
entered testPort(): trying ::1 port 32770 | |
done w/ testPort(): failed ::1 w/ port 32770 with error EADDRINUSE | |
entered testPort(): trying ::1 port 32771 | |
done w/ testPort(): failed ::1 w/ port 32771 with error EADDRINUSE | |
entered testPort(): trying ::1 port 32772 | |
done w/ testPort(): failed ::1 w/ port 32772 with error EADDRINUSE | |
entered testPort(): trying ::1 port 32773 | |
done w/ testPort(): OK ::1 port 32773 | |
in everyLimit() iteration callback testPort() callback with a success for port 32773 | |
in everyLimit() iteration callback: host is 127.0.0.1 | |
entered testPort(): trying 127.0.0.1 port 32768 | |
done w/ testPort(): failed 127.0.0.1 w/ port 32768 with error EADDRINUSE | |
entered testPort(): trying 127.0.0.1 port 32769 | |
done w/ testPort(): failed 127.0.0.1 w/ port 32769 with error EADDRINUSE | |
entered testPort(): trying 127.0.0.1 port 32770 | |
done w/ testPort(): failed 127.0.0.1 w/ port 32770 with error EADDRINUSE | |
entered testPort(): trying 127.0.0.1 port 32771 | |
done w/ testPort(): failed 127.0.0.1 w/ port 32771 with error EADDRINUSE | |
entered testPort(): trying 127.0.0.1 port 32772 | |
done w/ testPort(): failed 127.0.0.1 w/ port 32772 with error EADDRINUSE | |
entered testPort(): trying 127.0.0.1 port 32773 | |
done w/ testPort(): OK 127.0.0.1 port 32773 | |
in everyLimit() iteration callback testPort() callback with a success for port 32773 | |
in everyLimit() iteration callback: host is 0.0.0.0 | |
entered testPort(): trying 0.0.0.0 port 32768 | |
done w/ testPort(): failed 0.0.0.0 w/ port 32768 with error EADDRINUSE | |
entered testPort(): trying 0.0.0.0 port 32769 | |
done w/ testPort(): failed 0.0.0.0 w/ port 32769 with error EADDRINUSE | |
entered testPort(): trying 0.0.0.0 port 32770 | |
done w/ testPort(): failed 0.0.0.0 w/ port 32770 with error EADDRINUSE | |
entered testPort(): trying 0.0.0.0 port 32771 | |
done w/ testPort(): failed 0.0.0.0 w/ port 32771 with error EADDRINUSE | |
entered testPort(): trying 0.0.0.0 port 32772 | |
done w/ testPort(): failed 0.0.0.0 w/ port 32772 with error EADDRINUSE | |
entered testPort(): trying 0.0.0.0 port 32773 | |
done w/ testPort(): OK 0.0.0.0 port 32773 | |
in everyLimit() iteration callback testPort() callback with a success for port 32773 | |
in everyLimit() result callback: openPorts is [ 32773, 32773, 32773 ] | |
When using portfinder module with 5 existing servers the getPort() method | |
✓ should respond with the first free port (32773) | |
in everyLimit() iteration callback: host is ::1 | |
entered testPort(): trying ::1 port 32768 | |
done w/ testPort(): OK ::1 port 32768 | |
in everyLimit() iteration callback testPort() callback with a success for port 32768 | |
in everyLimit() iteration callback: host is 127.0.0.1 | |
entered testPort(): trying 127.0.0.1 port 32768 | |
done w/ testPort(): OK 127.0.0.1 port 32768 | |
in everyLimit() iteration callback testPort() callback with a success for port 32768 | |
in everyLimit() iteration callback: host is 0.0.0.0 | |
entered testPort(): trying 0.0.0.0 port 32768 | |
done w/ testPort(): OK 0.0.0.0 port 32768 | |
in everyLimit() iteration callback testPort() callback with a success for port 32768 | |
in everyLimit() result callback: openPorts is [ 32768, 32768, 32768 ] | |
When using portfinder module with no existing servers the getPort() method | |
✓ should respond with the first free port (32768) | |
✓ OK » 9 honored (0.707s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment