Feature/speedup quota tests (#1125)
* reduce the number of created entities in tests Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch.io> * fixed tests Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch.io> * fixed review findings Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch.io> * merged master Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch.io> * adapted target count Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch.io> * fixed review findings Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch.io> * fixed RolloutManagementTest Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch.io> * fixed flaky test ConcurrentDistributionSetInvalidationTest Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch.io>
This commit is contained in:
@@ -183,7 +183,7 @@ public class RolloutResourceDocumentationTest extends AbstractApiRestDocumentati
|
||||
final String name = "exampleRollout";
|
||||
final String type = "forced";
|
||||
final String description = "Rollout for all named targets";
|
||||
final int groupSize = 10;
|
||||
final int groupSize = 5;
|
||||
final Long dsId = testdataFactory.createDistributionSet().getId();
|
||||
final String targetFilter = "id==targets-*";
|
||||
|
||||
@@ -642,7 +642,7 @@ public class RolloutResourceDocumentationTest extends AbstractApiRestDocumentati
|
||||
if (isMultiAssignmentsEnabled()) {
|
||||
rolloutCreate.weight(400);
|
||||
}
|
||||
final Rollout rollout = rolloutManagement.create(rolloutCreate, 10, new RolloutGroupConditionBuilder()
|
||||
final Rollout rollout = rolloutManagement.create(rolloutCreate, 5, new RolloutGroupConditionBuilder()
|
||||
.withDefaults().successCondition(RolloutGroupSuccessCondition.THRESHOLD, "10").build());
|
||||
|
||||
// Run here, because Scheduler is disabled during tests
|
||||
|
||||
Reference in New Issue
Block a user