This is an automated email from the ASF dual-hosted git repository.

sk0x50 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 4d6fa1dd1a IGNITE-18308 Fixed RestAddressReporterTest that failed on 
Windows. Fixes #1400
4d6fa1dd1a is described below

commit 4d6fa1dd1a77b4d0637e14a0f6001fdd57c7c3ab
Author: Vadim Pakhnushev <[email protected]>
AuthorDate: Fri Dec 2 17:13:22 2022 +0200

    IGNITE-18308 Fixed RestAddressReporterTest that failed on Windows. Fixes 
#1400
    
    Signed-off-by: Slava Koptilin <[email protected]>
---
 .../org/apache/ignite/internal/component/RestAddressReporterTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/modules/runner/src/test/java/org/apache/ignite/internal/component/RestAddressReporterTest.java
 
b/modules/runner/src/test/java/org/apache/ignite/internal/component/RestAddressReporterTest.java
index 654e325863..3463100dde 100644
--- 
a/modules/runner/src/test/java/org/apache/ignite/internal/component/RestAddressReporterTest.java
+++ 
b/modules/runner/src/test/java/org/apache/ignite/internal/component/RestAddressReporterTest.java
@@ -72,7 +72,7 @@ class RestAddressReporterTest {
     @DisplayName("If there is no report file for some reason then throw an 
exception")
     void throwsExceptionWhenThereIsNoFile(@TempDir Path tmpDir) {
         // Given
-        Path path = Path.of(tmpDir.toUri() + "/nosuchpath");
+        Path path = tmpDir.resolve("nosuchpath");
         RestAddressReporter reporter = new RestAddressReporter(path);
 
         // When try to removeReport

Reply via email to