[
https://issues.apache.org/jira/browse/IGNITE-29080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18120649#comment-18120649
]
Ignite TC Bot commented on IGNITE-29080:
----------------------------------------
{panel:title=Branch: [pull/13620/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/13620/head] Base: [master] : New Tests
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Cache 13{color} [[tests
1|https://ci2.ignite.apache.org/viewLog.html?buildId=9370362]]
* {color:#013220}IgniteCacheTestSuite13:
SystemViewCacheExpiryPolicyTest.testCacheViewExpiryPolicy[factory=javax.cache.configuration.FactoryBuilder$SingletonFactory@2725ca05,
actual=SingletonFactory [expiryPlc=EternalExpiryPolicy [create=ETERNAL]]] -
PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=9370498&buildTypeId=IgniteTests24Java8_RunAll]
{color:#ffffff}tcbot-analysis-comment chainBuildId=9370498
rerunBuildIds=none{color}
> Fix the TcpDiscoveryVmIpFinderDnsResolveTest for JDK 21
> -------------------------------------------------------
>
> Key: IGNITE-29080
> URL: https://issues.apache.org/jira/browse/IGNITE-29080
> Project: Ignite
> Issue Type: Task
> Reporter: Aleksandr Nikolaev
> Assignee: Aleksandr Nikolaev
> Priority: Minor
> Labels: ise
> Fix For: 2.19
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
>
> [TcpDiscoveryVmIpFinderDnsResolveTest|https://ci2.ignite.apache.org/buildConfiguration/IgniteTests24Java8_RunAllNightly/9369646?expandCode+Inspection=false&expandedTest=build%3A%28id%3A9369576%29%2Cid%3A2000000000]
> fails on JDK 18+:
>
>
> {code:java}
> ======= Failed test run #1 ==========
> nameServices
> ------- Stdout: -------
> java.lang.NoSuchFieldException: nameServices
> at java.base/java.lang.Class.getDeclaredField(Class.java:2784)
> at
> org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinderDnsResolveTest$INameService.uninstall(TcpDiscoveryVmIpFinderDnsResolveTest.java:577)
> at
> org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinderDnsResolveTest.cleanup(TcpDiscoveryVmIpFinderDnsResolveTest.java:85)
> at
> java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
> at java.base/java.lang.reflect.Method.invoke(Method.java:580)
> {code}
> The test replaces the DNS resolver via reflection on the internal
> InetAddress$NameService, which was removed in JDK 18 (JEP 418) and replaced
> with java.net.spi.InetAddressResolver.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)