Skip to content

Commit

Permalink
Adding useJUnitPlatform() (#34)
Browse files Browse the repository at this point in the history
* Adding useJUnitPlatform()

* GrpcResponseDefinitionBuilder.withFixedDelay returning null instead of this
  • Loading branch information
edeandrea authored Dec 19, 2023
1 parent 0484345 commit a832565
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ publishing {
}

test {
useJUnitPlatform()
testLogging {
events "PASSED", "FAILED", "SKIPPED"
exceptionFormat "full"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public GrpcResponseDefinitionBuilder withTemplatingEnabled(boolean enabled) {

public GrpcResponseDefinitionBuilder withFixedDelay(long milliseconds) {
this.delay = new FixedDelayDistribution(milliseconds);
return null;
return this;
}

public GrpcResponseDefinitionBuilder withRandomDelay(DelayDistribution distribution) {
Expand Down

0 comments on commit a832565

Please sign in to comment.