diff --git a/dotnet/test/common/Environment/EnvironmentManager.cs b/dotnet/test/common/Environment/EnvironmentManager.cs index 0427d26e2edb7..bc0fe88827a89 100644 --- a/dotnet/test/common/Environment/EnvironmentManager.cs +++ b/dotnet/test/common/Environment/EnvironmentManager.cs @@ -87,7 +87,7 @@ private EnvironmentManager() string javaOutDirectory = Path.Combine(childDir.FullName, "java"); if (Directory.Exists(javaOutDirectory)) { - info = new DirectoryInfo(javaOutDirectory); + info = childDir; continueTraversal = false; break; }