Increase timeout in workflow definition resource test

This commit is contained in:
Ram Narayan Balaji 2025-09-25 12:59:40 +05:30
parent cf559c4fe3
commit f44537bd5b
2 changed files with 3 additions and 3 deletions

View File

@ -1406,4 +1406,4 @@ SET json = JSON_SET(json, '$.serviceType', 'MicroStrategy')
WHERE JSON_UNQUOTE(JSON_EXTRACT(json, '$.serviceType')) = 'Mstr'; WHERE JSON_UNQUOTE(JSON_EXTRACT(json, '$.serviceType')) = 'Mstr';
-- Increase Flowable ACTIVITY_ID_ column size to support longer user-defined workflow node names -- Increase Flowable ACTIVITY_ID_ column size to support longer user-defined workflow node names
ALTER TABLE ACT_RU_EVENT_SUBSCR ALTER COLUMN ACTIVITY_ID_ TYPE varchar(255); ALTER TABLE ACT_RU_EVENT_SUBSCR MODIFY ACTIVITY_ID_ varchar(255);

View File

@ -5019,8 +5019,8 @@ public class WorkflowDefinitionResourceTest extends OpenMetadataApplicationTest
// Verify that the dataProduct status was set to "Approved" by the workflow // Verify that the dataProduct status was set to "Approved" by the workflow
LOG.info("Verifying dataProduct status was auto-approved..."); LOG.info("Verifying dataProduct status was auto-approved...");
await() await()
.atMost(Duration.ofSeconds(60)) .atMost(Duration.ofSeconds(120))
.pollInterval(Duration.ofSeconds(2)) .pollInterval(Duration.ofSeconds(1))
.pollDelay(Duration.ofMillis(500)) .pollDelay(Duration.ofMillis(500))
.until( .until(
() -> { () -> {