-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow nodes with unresolvable DNS names
This commit allows Merlin to function with nodes which DNS cannot be resolved at startup. If no a given node could not be resolved at startup merlin will try to resolve the nodes during the connect_to_all function, which checks if disconnected nodes has become online. Note that if the DNS changes, for a given node, then Merlin should be restarted, as it will not attempt to resolve nodes that previously has been resolved. Signed-off-by: Jacob Hansen <jhansen@op5.com>
- Loading branch information
1 parent
fec6b53
commit 02d4dbb
Showing
5 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@config @daemons @merlin @queryhandler | ||
Feature: Startup of merlin and Naemon | ||
|
||
Scenario: Naemon and Merlin should be able to start correct even if a Merlin | ||
node has unresolvable DNS. | ||
|
||
Given I have merlin configured for port 7000 | ||
| type | name | address | port | | ||
| peer | my_peer | my_peer | 4123 | | ||
|
||
When I start naemon | ||
And I wait for 1 second | ||
|
||
Then my_peer should appear disconnected |
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
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
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
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