Skip to content

Commit

Permalink
chore(merge): release-10.2.0 into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
bonita-ci committed Oct 4, 2024
2 parents b3f1c93 + e377395 commit 4f664a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import org.gradle.api.Project
@Canonical
class DatabaseExtraConfiguration {
/**
* Include an additional module in the test classpath
* Include an additional project in the test classpath
*/
Project includeTestModule
Project includeTestProject
/**
* Excludes test class patterns (e.g. '**/*Test.class') applied to this database vendor.
* It can be combined with {@link #excludeTags}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ class DockerDatabaseContainerTasksCreator {
description = "Runs slow integration test suite on $vendor.name database."
systemProperty "bonita.version", project.version
jvmArgs += ['--add-opens', 'java.base/java.util=ALL-UNNAMED', '--add-opens', 'java.base/java.lang=ALL-UNNAMED', '-Dfile.encoding=UTF-8']
if (extension."${vendor.name}"?.includeTestModule) {
testClassesDirs += extension."${vendor.name}".includeTestModule.sourceSets.test.output.classesDirs
classpath += extension."${vendor.name}".includeTestModule.sourceSets.test.runtimeClasspath
if (extension."${vendor.name}"?.includeTestProject) {
testClassesDirs += extension."${vendor.name}".includeTestProject.sourceSets.test.output.classesDirs
classpath += extension."${vendor.name}".includeTestProject.sourceSets.test.runtimeClasspath
}
classpath += project.files(project.configurations.drivers)
if (extension."${vendor.name}"?.excludes) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void before() {
@Test
public void should_not_unschedule_job_on_exception() throws Exception {
// job should never throw an exception and be handled by the JobWrapper
// we do not unschedule the job in that case. we don't want to loose the job
// we do not unschedule the job in that case. we don't want to lose the job
doReturn(jobThatFails()).when(schedulerService).getPersistedJob(any());

try {
Expand Down

0 comments on commit 4f664a6

Please sign in to comment.