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

chore(deps): bump surefire to 3.2.2 #3959

Closed
wants to merge 10 commits into from
Closed
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
1 change: 0 additions & 1 deletion .ci/config/matrices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ engine-webapp-unit:
- 'aws_aurora_postgresql_13'
- 'aws_aurora_postgresql_14'
- 'mariadb_106'
- 'mysql_80'
- 'oracle_19'
- 'db2_115'
- 'sqlserver_2017'
Expand Down
5 changes: 0 additions & 5 deletions .ci/config/stage-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,9 @@
db-unit:
directory: '.'
command: 'clean package -pl "engine,webapps/assembly,webapps/assembly-jakarta" -Dskip.frontend.build=true -P'
stash:
runtimeStash: true
labels:
- 'all-db'
- 'db2'
- 'mysql'
- 'oracle'
- 'mariadb'
- 'sqlserver'
Expand All @@ -43,7 +40,6 @@ sql-scripts:
labels:
- 'all-db'
- 'db2'
- 'mysql'
- 'oracle'
- 'mariadb'
- 'sqlserver'
Expand All @@ -63,7 +59,6 @@ old-engine:
labels:
- 'all-db'
- 'db2'
- 'mysql'
- 'oracle'
- 'mariadb'
- 'sqlserver'
Expand Down
48 changes: 37 additions & 11 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,6 @@ pipeline {
)
}

// don't trigger the daily pipeline from a master branch build
// or if a PR has no relevant labels
if (env.BRANCH_NAME != cambpmDefaultBranch() && cambpmWithLabels('default-build', 'jdk', 'rolling-update', 'migration', 'all-db', 'h2', 'db2', 'mysql', 'oracle', 'mariadb', 'sqlserver', 'postgresql')) {
cambpmTriggerDownstream(
platformVersionDir + "/cambpm-ce/cambpm-daily/${env.BRANCH_NAME}",
[string(name: 'UPSTREAM_PROJECT_NAME', value: upstreamProjectName),
string(name: 'UPSTREAM_BUILD_NUMBER', value: upstreamBuildNumber)]
)
}

// only execute on version (default) branch (e.g. master, 7.15)
if (env.BRANCH_NAME == cambpmDefaultBranch()) {
cambpmRunMaven('.',
Expand Down Expand Up @@ -465,7 +455,7 @@ pipeline {
stage('engine-UNIT-database-table-prefix') {
when {
expression {
cambpmIsNotFailedStageType(failedStageTypes, 'engine-unit') && cambpmWithLabels('all-db','h2','db2','mysql','oracle','mariadb','sqlserver','postgresql','cockroachdb')
cambpmIsNotFailedStageType(failedStageTypes, 'engine-unit') && cambpmWithLabels('all-db','h2','db2','oracle','sqlserver','postgresql','cockroachdb')
}
}
steps {
Expand Down Expand Up @@ -580,6 +570,42 @@ pipeline {
])
}
}
stage('engine-UNIT-mysql') {
when {
expression {
cambpmIsNotFailedStageType(failedStageTypes, 'engine-unit') && cambpmWithLabels('all-db', 'mysql')
}
}
steps {
cambpmConditionalRetry([
agentLabel: 'mysql_80',
runSteps: {
cambpmRunMaven('engine/', ' clean package -Pmysql', runtimeStash: true)
},
postFailure: {
cambpmPublishTestResult()
}
])
}
}
stage('webapps-UNIT-mysql') {
when {
expression {
cambpmIsNotFailedStageType(failedStageTypes, 'engine-unit') && cambpmWithLabels('all-db', 'mysql')
}
}
steps {
cambpmConditionalRetry([
agentLabel: 'mysql_80',
runSteps: {
cambpmRunMaven('.', ' clean package -pl "webapps/assembly,webapps/assembly-jakarta" -Dskip.frontend.build=true -Pmysql', runtimeStash: true)
},
postFailure: {
cambpmPublishTestResult()
}
])
}
}
}
}
}
Expand Down
14 changes: 0 additions & 14 deletions webapps/assembly-jakarta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -583,20 +583,6 @@
</properties>
</profile>

<profile>
<id>mariadb</id>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludedGroups>org.camunda.bpm.cockpit.plugin.base.SlowMariaDbTest</excludedGroups>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>h2</id>
<properties>
Expand Down
14 changes: 0 additions & 14 deletions webapps/assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -345,20 +345,6 @@
</properties>
</profile>

<profile>
<id>mariadb</id>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludedGroups>org.camunda.bpm.cockpit.plugin.base.SlowMariaDbTest</excludedGroups>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>h2</id>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
import org.camunda.bpm.engine.RepositoryService;
import org.camunda.bpm.engine.RuntimeService;
import org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl;
import org.camunda.bpm.engine.impl.db.sql.DbSqlSessionFactory;
import org.camunda.bpm.engine.impl.test.RequiredDatabase;
import org.camunda.bpm.engine.repository.ProcessDefinition;
import org.camunda.bpm.engine.rest.dto.VariableQueryParameterDto;
import org.camunda.bpm.engine.runtime.ProcessInstance;
Expand All @@ -45,7 +47,6 @@
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.experimental.categories.Category;

public class ProcessDefinitionResourceTest extends AbstractCockpitPluginTest {

Expand Down Expand Up @@ -625,7 +626,7 @@ public void testQueryWithIntegerVariable() {
"processes/variables-process-with-call-activity.bpmn",
"processes/user-task-process.bpmn"
})
@Category(SlowMariaDbTest.class)
@RequiredDatabase(excludes = {DbSqlSessionFactory.MYSQL, DbSqlSessionFactory.MARIADB})
public void testQueryWithComplexVariableFilter() {
// given
ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("variableProcessWithCallActivity");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
import org.camunda.bpm.engine.RuntimeService;
import org.camunda.bpm.engine.impl.calendar.DateTimeUtil;
import org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl;
import org.camunda.bpm.engine.impl.db.sql.DbSqlSessionFactory;
import org.camunda.bpm.engine.impl.test.RequiredDatabase;
import org.camunda.bpm.engine.impl.util.ClockUtil;
import org.camunda.bpm.engine.repository.ProcessDefinition;
import org.camunda.bpm.engine.rest.dto.CountResultDto;
Expand All @@ -59,7 +61,6 @@
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.experimental.categories.Category;

/**
* @author roman.smirnov
Expand Down Expand Up @@ -502,7 +503,7 @@ public void testQueryWithIntegerVariable() {
@Deployment(resources = {
"processes/variables-process.bpmn"
})
@Category(SlowMariaDbTest.class)
@RequiredDatabase(excludes = {DbSqlSessionFactory.MYSQL, DbSqlSessionFactory.MARIADB})
public void testQueryWithComplexVariableFilter() {
// given
startProcessInstances("variableProcess", 2);
Expand Down

This file was deleted.