Skip to content

Commit

Permalink
feat:reduce runners
Browse files Browse the repository at this point in the history
  • Loading branch information
sr4850 committed Aug 2, 2024
1 parent 73f09f2 commit b1dcc5d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,12 @@
<configuration>
<testFailureIgnore>true</testFailureIgnore>
<rerunFailingTestsCount>1</rerunFailingTestsCount>
<forkCount>3</forkCount>
<forkCount>2</forkCount>
<includes>
<include>**/**.java</include>
</includes>
<parallel>methods</parallel>
<threadCount>3</threadCount>
<threadCount>2</threadCount>
<reuseForks>true</reuseForks>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import java.util.concurrent.ForkJoinPool;
import java.util.function.Predicate;
public class CustomRunner implements ParallelExecutionConfiguration, ParallelExecutionConfigurationStrategy {
private static final int FIXED_PARALLELISM = 3;
private static final int FIXED_PARALLELISM = 2;

static {
System.out.println("THREADS: " + FIXED_PARALLELISM);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@grant_under_consideration
@FullRegression
@localsmoke
@containers-smoke

Feature: Grant under consideration application

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Feature: Complete Manual Bus Registration Steps
Given I have a psv application with traffic area "north_east" and enforcement area "north_east" which has been granted
And i have logged in to internal as "admin"

@localsmoke @manualbus
@localsmoke @manualbus @containers-smoke
Scenario: Paying Fees to Complete Bus Registration Manually
And i add a new bus registration
When it has been paid and granted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Feature:Add, Edit and reassign tasks on the internal application
Given i have a valid "goods" "standard_national" licence
When I have logged into the internal application

@re-assign-task @localsmoke
@re-assign-task @localsmoke @containers-smoke
Scenario: User wishes to re-assign a task
Then I re-assign a task
Then the User has re-assigned a task
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ Feature: Search and add a vehicle
And I add a vehicle belonging to another licence
Then I should be prompted that vehicle belongs to another licence

@dvla-remove-vehicle @localsmoke
@dvla-remove-vehicle @localsmoke @containers-smoke
Scenario: Remove vehicle on licence
Given I have "1" "goods" "standard_national" licences with "2" vehicles and a vehicleAuthority of "5"
And I navigate to manage vehicle page on a licence
And i remove a vehicle
Then the "1 vehicle has been removed" confirmation banner should appear
And the vehicle should no longer be present

@dvla-reprint @localsmoke
@dvla-reprint @localsmoke @containers-smoke
Scenario: Reprint vehicle disc on licence
Given I have "1" "goods" "standard_national" licences with "2" vehicles and a vehicleAuthority of "5"
And discs have been added to my licence
Expand Down

0 comments on commit b1dcc5d

Please sign in to comment.