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

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

commit daaedfe8a6e6e66d2ad92b1f8098cd8f8bdfb355
Author: Pochatkin Mikhail <[email protected]>
AuthorDate: Fri Sep 26 11:17:42 2025 +0300

    IGNITE-26528 Fix flaky DeploymentManagementControllerTest
---
 .../rest/deployment/DeploymentManagementControllerTest.java       | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git 
a/modules/rest/src/integrationTest/java/org/apache/ignite/internal/rest/deployment/DeploymentManagementControllerTest.java
 
b/modules/rest/src/integrationTest/java/org/apache/ignite/internal/rest/deployment/DeploymentManagementControllerTest.java
index 84e53ded828..cef7cb10220 100644
--- 
a/modules/rest/src/integrationTest/java/org/apache/ignite/internal/rest/deployment/DeploymentManagementControllerTest.java
+++ 
b/modules/rest/src/integrationTest/java/org/apache/ignite/internal/rest/deployment/DeploymentManagementControllerTest.java
@@ -158,6 +158,14 @@ public class DeploymentManagementControllerTest extends 
ClusterPerClassIntegrati
         HttpResponse<Object> response = deploy(id, version, false, bigFile);
 
         assertThat(response.code(), is(OK.code()));
+
+        await().untilAsserted(() -> {
+            MutableHttpRequest<Object> get = HttpRequest.GET("cluster/units");
+            UnitStatus status = client.toBlocking().retrieve(get, 
UnitStatus.class);
+
+            assertThat(status.id(), is(id));
+            assertThat(status.versionToStatus(), equalTo(List.of(new 
UnitVersionStatus(version, DEPLOYED))));
+        });
     }
 
     @Test

Reply via email to