-
Notifications
You must be signed in to change notification settings - Fork 47
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
TEST: Add unit tests for MemcachedConnection.handleCacheNodesChange()
method in replication mode.
#851
Conversation
24b54b7
to
ee4f051
Compare
ee4f051
to
10d2447
Compare
10d2447
to
932e67d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๋ฆฌ๋ทฐ ์๋ฃ
src/test/manual/net/spy/memcached/MemcachedConnectionReplTest.java
Outdated
Show resolved
Hide resolved
assertEquals(2, locator.getAllGroups().size()); | ||
|
||
conn.setCacheNodesChange(ArcusReplNodeAddress.getAddresses( | ||
"g0^M^127.0.0.4:11211,g0^S^127.0.0.3:11211,g1^M^127.0.0.2:11211,g1^S^127.0.0.1:11211")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ด๋ ๊ฒ switchover ๋ฐ์ํ๋ ๊ฒฝ์ฐ๊ฐ ์์ผ๋, ์ด๋ฌํ ํ ์คํธ๋ ์์ด๋ ๋์ง ์๋ ์๊ฐํฉ๋๋ค.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ผ๋ถ๋ฌ ๋ง๋ ์ผ์ด์ค์ด๋ฏ๋ก ๋ฉ์๋ ์ด๋ฆ์ edge case๋ฅผ ๋ฃ๋ ๊ฒ์ผ๋ก ์คํ๋ผ์ธ ํฉ์ํ์์ต๋๋ค.
โฆ)` method in replication mode.
932e67d
to
2d67fa8
Compare
๐ Related Issue
โจ๏ธ What I did