This is an automated email from the ASF dual-hosted git repository.
mpochatkin 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 c59ccbbd41a IGNITE-26528 Fix flaky DeploymentManagementControllerTest
(#6657)
c59ccbbd41a is described below
commit c59ccbbd41ad9159d88c0f4027551641b37f596e
Author: Mikhail <[email protected]>
AuthorDate: Fri Sep 26 13:13:07 2025 +0300
IGNITE-26528 Fix flaky DeploymentManagementControllerTest (#6657)
---
.../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