Skip to content

Commit

Permalink
fix minor review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Moiseenko <[email protected]>
  • Loading branch information
eupp committed May 30, 2024
1 parent 9156cd3 commit e4a35d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,9 @@ class StressCTestConfiguration(

override val instrumentationMode: InstrumentationMode get() = STRESS

override fun createStrategy(
testClass: Class<*>,
scenario: ExecutionScenario,
validationFunction: Actor?,
stateRepresentationMethod: Method?
) = StressStrategy(this, testClass, scenario, validationFunction, stateRepresentationMethod)
override fun createStrategy(testClass: Class<*>, scenario: ExecutionScenario, validationFunction: Actor?,
stateRepresentationMethod: Method?) =
StressStrategy(this, testClass, scenario, validationFunction, stateRepresentationMethod)

companion object {
const val DEFAULT_INVOCATIONS = 10000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ class StressStrategy(
useClocks = UseClocks.RANDOM
)

override fun runInvocation(): InvocationResult {
return runner.run()
}
override fun runInvocation(): InvocationResult = runner.run()

override fun close() {
runner.close()
Expand Down

0 comments on commit e4a35d6

Please sign in to comment.