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

[fixed] issue where verify_and_map: true in leaf node config was not used #2038

Merged
merged 6 commits into from Mar 26, 2021

Conversation

matthiashanel
Copy link
Contributor

@matthiashanel matthiashanel commented Mar 26, 2021

This broke the setup in such a way that any connect relying on this would have failed.
This also fixes an issue where specifying no account did not result in using $G.

Signed-off-by: Matthias Hanel mh@synadia.com

…used

This broke the setup in such a way that any connect relying on this would have failed.

Signed-off-by: Matthias Hanel <mh@synadia.com>
Signed-off-by: Matthias Hanel <mh@synadia.com>
Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

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

I have proposed some modifications to the tests. By setting the reconnect interval to lower value, it speeds up the test that when run many times showed that sometimes they would take several seconds.
Also ensure that we fail if we don't get any warning at all.

server/leafnode_test.go Outdated Show resolved Hide resolved
server/leafnode_test.go Outdated Show resolved Hide resolved
server/leafnode_test.go Outdated Show resolved Hide resolved
server/leafnode_test.go Outdated Show resolved Hide resolved
matthiashanel and others added 4 commits March 26, 2021 17:07
Speeds up test

Co-authored-by: Ivan Kozlovic <ivan@synadia.com>
Co-authored-by: Ivan Kozlovic <ivan@synadia.com>
Co-authored-by: Ivan Kozlovic <ivan@synadia.com>
Co-authored-by: Ivan Kozlovic <ivan@synadia.com>
@matthiashanel
Copy link
Contributor Author

@kozlovic these changes look great and I committed them

Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

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

LGTM

@matthiashanel matthiashanel merged commit 9f753a2 into master Mar 26, 2021
@matthiashanel matthiashanel deleted the map-issue branch March 26, 2021 23:24
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