We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a99652 commit 89e42e2Copy full SHA for 89e42e2
tests/junit-functional/org/jgroups/tests/UtilTest.java
@@ -1719,6 +1719,17 @@ public void testToUUID() throws Exception {
1719
s=Util.addressToString(ip1);
1720
ip2=Util.addressFromString(s);
1721
assert ip1.equals(ip2);
1722
+
1723
+ byte[] symbNameKey = Util.stringToBytes("SYMBOLIC_NAME");
1724
+ byte[] symbNameVal = Util.stringToBytes("member01");
1725
1726
+ ExtendedUUID euuid = ExtendedUUID.randomUUID();
1727
+ euuid.put(symbNameKey, symbNameVal);
1728
+ s = Util.addressToString(euuid);
1729
+ assert s != null;
1730
+ assert euuid instanceof ExtendedUUID;
1731
+ ip2=Util.addressFromString(s);
1732
+ assert ip2 != null;
1733
}
1734
1735
protected static void check(Enumeration<Integer> en, Integer[] expected) {
0 commit comments