ygerzhedovich commented on code in PR #5121:
URL: https://github.com/apache/ignite-3/pull/5121#discussion_r1935442120
##########
modules/catalog/src/test/java/org/apache/ignite/internal/catalog/CatalogManagerSelfTest.java:
##########
@@ -423,6 +424,21 @@ void bulkUpdateIncrementsVersionByOne() {
@Test
void bulkUpdateDoesntIncrementVersionInCaseOfError() {
int versionBefore = manager.latestCatalogVersion();
+ tryApplyAndCheckExpect(
+ List.of(TestCommand.empty(), TestCommand.ok(),
TestCommand.empty(), TestCommand.ok(), TestCommand.empty()),
+ false, true, false, true, false
+ );
+
+ Catalog updatedCatalog =
manager.catalog(manager.latestCatalogVersion());
+
+ assertNotNull(updatedCatalog);
+
+ assertEquals(4 + versionBefore, updatedCatalog.objectIdGenState());
Review Comment:
reworked these tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]