Skip to content

Commit

Permalink
Tests: Increase default number for tests.max-container-count (#3518)
Browse files Browse the repository at this point in the history
  • Loading branch information
osulzhenko authored Oct 23, 2024
1 parent c2af8b3 commit 4f6ee8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/developers/functional-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Functional tests need to have name template **.\*Spec.groovy**
**Properties:**

`launchContainers` - responsible for starting the MockServer and the MySQLContainer container. Default value is false to not launch containers for unit tests.
`tests.max-container-count` - maximum number of simultaneously running PBS containers. Default value is 2.
`tests.max-container-count` - maximum number of simultaneously running PBS containers. Default value is 5.
`skipFunctionalTests` - allow to skip funtional tests. Default value is false.
`skipUnitTests` - allow to skip unit tests. Default value is false.

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@
<systemPropertyVariables>
<mockserver.version>${mockserver.version}</mockserver.version>
<pbs.version>${project.version}</pbs.version>
<tests.max-container-count>2</tests.max-container-count>
<tests.max-container-count>5</tests.max-container-count>
<tests.fixed-container-ports>false</tests.fixed-container-ports>
</systemPropertyVariables>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ class PbsServiceFactory {
private static int getMaxContainerCount() {
USE_FIXED_CONTAINER_PORTS
? 1
: SystemProperties.getPropertyOrDefault("tests.max-container-count", 2)
: SystemProperties.getPropertyOrDefault("tests.max-container-count", 5)
}
}

0 comments on commit 4f6ee8e

Please sign in to comment.