Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AAE-28176 Flaky test in ProcessInstanceConnectors in activiti-cloud #1613

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ env:
jobs:

pre-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Check dependabot build
uses: Activiti/Activiti/.github/actions/check-ext-build@7700f0283a9ff5181581a350d2520e55c61c1c60 # 8.6.0
- name: pre-commit
uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@231ca442a35bf41dbda3c9960d74e8d703c208f4 # v8.2.0
with:
skip_checkout: true
- name: Ensure SHA pinned actions
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@38608ef4fb69adae7f1eac6eeb88e67b7d083bfd # v3.0.16
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Check dependabot build
uses: Activiti/Activiti/.github/actions/check-ext-build@7700f0283a9ff5181581a350d2520e55c61c1c60 # 8.6.0
#- name: pre-commit
# uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@231ca442a35bf41dbda3c9960d74e8d703c208f4 # v8.2.0
# with:
# skip_checkout: true
- name: Ensure SHA pinned actions
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@38608ef4fb69adae7f1eac6eeb88e67b7d083bfd # v3.0.16

build:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-acceptance-scenarios-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
</parent>
<artifactId>identity-adapter-acceptance-tests</artifactId>
<name>Activiti Cloud :: Acceptance Scenarios Identity Adapter</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-acceptance-scenarios-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
</parent>
<artifactId>multiple-runtime-acceptance-tests</artifactId>
<name>Activiti Cloud :: Acceptance Scenarios Multi-Runtime</name>
Expand Down
2 changes: 1 addition & 1 deletion activiti-cloud-acceptance-scenarios/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-build-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-build</relativePath>
</parent>
<artifactId>activiti-cloud-acceptance-scenarios-parent</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-acceptance-scenarios-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
</parent>
<artifactId>runtime-acceptance-tests</artifactId>
<name>Activiti Cloud :: Acceptance Scenarios Runtime</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,19 @@ public void assertThatQueryHasVariable(String variableName, Integer variableValu
"the process instance has a resultCollection named $variableName with the following integer entries: $variableTable"
)
public void assertThatQueryHasVariable(String variableName, ExamplesTable variableTable) {

System.out.println("+assertThatQueryHasVariable");
System.out.println("+variableName: " + variableName);
System.out.println("+variableTable: " + variableTable);
String processInstanceId = Serenity.sessionVariableCalled("processInstanceId");
System.out.println("+processInstanceId: " + processInstanceId);

List<Map<String, Integer>> resultCollectionValue = new ArrayList<>();
variableTable
.getRows()
.forEach(map -> resultCollectionValue.add(singletonMap(map.get("name"), Integer.valueOf(map.get("value"))))
);
System.out.println("+resultCollectionValue: " + resultCollectionValue);

processQuerySteps.checkProcessInstanceHasVariableValue(processInstanceId, variableName, resultCollectionValue);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-acceptance-scenarios-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>security-policies-acceptance-tests</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-acceptance-tests-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-acceptance-tests-dependencies</relativePath>
</parent>
<artifactId>activiti-cloud-acceptance-tests-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-acceptance-tests-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
</parent>
<artifactId>activiti-cloud-acceptance-tests-dependencies</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-acceptance-tests-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-acceptance-tests-dependencies</relativePath>
</parent>
<artifactId>activiti-cloud-acceptance-tests-shared</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion activiti-cloud-acceptance-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-build-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-build</relativePath>
</parent>
<artifactId>activiti-cloud-acceptance-tests-parent</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion activiti-cloud-api/activiti-cloud-api-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-api</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
</parent>
<artifactId>activiti-cloud-api-dependencies</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion activiti-cloud-api/activiti-cloud-api-events/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-api-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-api-dependencies</relativePath>
</parent>
<artifactId>activiti-cloud-api-events</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-api-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-api-dependencies</relativePath>
</parent>
<artifactId>activiti-cloud-api-model-shared-impl</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion activiti-cloud-api/activiti-cloud-api-model-shared/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-api-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-api-dependencies</relativePath>
</parent>
<artifactId>activiti-cloud-api-model-shared</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-api-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-api-dependencies</relativePath>
</parent>
<artifactId>activiti-cloud-api-process-model-impl</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-api-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-api-dependencies</relativePath>
</parent>
<artifactId>activiti-cloud-api-process-model</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-api-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-api-dependencies</relativePath>
</parent>
<artifactId>activiti-cloud-api-task-model-impl</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion activiti-cloud-api/activiti-cloud-api-task-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-api-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-api-dependencies</relativePath>
</parent>
<artifactId>activiti-cloud-api-task-model</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion activiti-cloud-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-build-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-build</relativePath>
</parent>
<artifactId>activiti-cloud-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-audit-service-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
</parent>
<artifactId>activiti-cloud-audit-dependencies</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-audit-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-audit-dependencies</relativePath>
</parent>
<artifactId>activiti-cloud-services-audit-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-audit-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-audit-dependencies</relativePath>
</parent>
<artifactId>activiti-cloud-services-audit-consumer</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-audit-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-audit-dependencies</relativePath>
</parent>
<artifactId>activiti-cloud-services-audit-liquibase</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-audit-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-audit-dependencies</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-audit-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-audit-dependencies</relativePath>
</parent>
<artifactId>activiti-cloud-services-audit-rest</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-audit-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-audit-dependencies</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-audit-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-audit-dependencies</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-audit-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-audit-dependencies</relativePath>
</parent>
<artifactId>activiti-cloud-starter-audit</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion activiti-cloud-audit-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-build-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-build</relativePath>
</parent>
<artifactId>activiti-cloud-audit-service-parent</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-build-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
</parent>
<artifactId>activiti-cloud-build-dependencies-parent</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion activiti-cloud-build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-mono-aggregator</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
</parent>
<artifactId>activiti-cloud-build-parent</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-connectors-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
</parent>
<artifactId>activiti-cloud-connectors-dependencies</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-connectors-dependencies</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-connectors-dependencies</relativePath>
</parent>
<artifactId>activiti-cloud-starter-connector</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion activiti-cloud-connectors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-build-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-build</relativePath>
</parent>
<artifactId>activiti-cloud-connectors-parent</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion activiti-cloud-dependencies/dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-dependencies-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
</parent>
<artifactId>activiti-cloud-dependencies</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion activiti-cloud-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-build-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../activiti-cloud-build</relativePath>
</parent>
<artifactId>activiti-cloud-dependencies-parent</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-examples</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
</parent>
<artifactId>activiti-cloud-identity-adapter</artifactId>
<name>Activiti Cloud :: Identity Adapter</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-build-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../../../activiti-cloud-build/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-query</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
</parent>

<artifactId>activiti-cloud-query-starter-consumer</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-build-parent</artifactId>
<version>8.7.0-SNAPSHOT</version>
<version>8.7.0-alpha.69</version>
<relativePath>../../../activiti-cloud-build/pom.xml</relativePath>
</parent>
<artifactId>activiti-cloud-query-liquibase</artifactId>
Expand Down
Loading
Loading