Skip to content

Commit

Permalink
IGNITE-21395 .NET: Fix ClientServerCompatibilityTest on JDK 11 (#11209)
Browse files Browse the repository at this point in the history
Disable ClientServerCompatibilityTest test cases for Ignite 2.4.0 and 2.6.0 on JDK 11
  • Loading branch information
ptupitsyn authored Jan 30, 2024
1 parent aec5f95 commit fe6e8c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public IEnumerator GetEnumerator()
{
TestUtils.EnsureJvmCreated();

if (TestUtilsJni.GetJavaMajorVersion() <= 11)
if (TestUtilsJni.GetJavaMajorVersion() < 11)
{
// Old Ignite versions can't start on new JDKs (support was not yet added).
yield return new object[] { JavaServer.GroupIdIgnite, "2.4.0", 0 };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ public static IDisposable Start(string groupId, string version)

Console.WriteLine("Using maven at: " + MavenPath);
Console.WriteLine("JAVA_HOME: " + Environment.GetEnvironmentVariable("JAVA_HOME"));
Console.WriteLine("IsJava9: " + Jvm.IsJava9());
Console.WriteLine("GetJavaMajorVersion: " + TestUtilsJni.GetJavaMajorVersion());

var pomWrapper =
ReplaceIgniteVersionInPomFile(groupId, version, Path.Combine(JavaServerSourcePath, "pom.xml"));
Expand Down

0 comments on commit fe6e8c0

Please sign in to comment.