Skip to content

Commit

Permalink
make single fork default, override in action (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellblazer authored Feb 11, 2024
1 parent 57289e7 commit 18d48ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
cache: 'maven'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build with Maven
run: ./mvnw -T 0.5C -batch-mode clean install -Ppre --file pom.xml
run: ./mvnw -T 0.5C -batch-mode clean install -Ppre --file pom.xml -Dforks=2
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
<version.java>21</version.java>
<graal.vm.version>23.1.0</graal.vm.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<forks>1</forks>
</properties>
<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -777,7 +778,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<forkCount>2</forkCount>
<forkCount>${forks}</forkCount>
<reuseForks>true</reuseForks>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

import com.codahale.metrics.Timer.Context;
import com.google.protobuf.Empty;
import com.salesforce.apollo.stereotomy.event.proto.*;
import com.salesforce.apollo.stereotomy.services.grpc.proto.*;
import com.salesforce.apollo.membership.Member;
import com.salesforce.apollo.stereotomy.event.proto.*;
import com.salesforce.apollo.stereotomy.services.grpc.StereotomyMetrics;
import com.salesforce.apollo.stereotomy.services.grpc.proto.*;
import com.salesforce.apollo.stereotomy.services.proto.ProtoKERLService;

import java.io.IOException;
Expand Down Expand Up @@ -101,8 +101,7 @@ public KeyStateWithAttachments_ getKeyStateWithAttachments(EventCoords coords) {
@Override
public KeyStateWithEndorsementsAndValidations_ getKeyStateWithEndorsementsAndValidations(
EventCoords coordinates) {
// TODO Auto-generated method stub
return null;
return service.getKeyStateWithEndorsementsAndValidations(coordinates);
}

@Override
Expand Down

0 comments on commit 18d48ab

Please sign in to comment.