Skip to content

Commit

Permalink
Merge branch 'prebid:master' into tradplus
Browse files Browse the repository at this point in the history
  • Loading branch information
tradplus authored Oct 24, 2024
2 parents 5056de3 + 4f6ee8e commit 1891f43
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 14 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
5 changes: 4 additions & 1 deletion src/main/resources/bidder-config/bluesea.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ adapters:
- video
- native
site-media-types:
- banner
- video
- native
supported-vendors:
vendor-id: 0
vendor-id: 1294
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
package org.prebid.server.functional.model.bidder

import com.fasterxml.jackson.annotation.JsonProperty
class GeneralBidderAdapter extends Generic {

class GeneralBidderAdapter implements BidderAdapter {

Object exampleProperty
Integer firstParam
Integer secondParam
@JsonProperty("dealsonly")
Boolean dealsOnly
@JsonProperty("pgdealsonly")
Boolean pgDealsOnly
String siteId
List<Integer> size
String sid
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 1891f43

Please sign in to comment.