Skip to content

Commit 5f24b0e

Browse files
committed
increase the change to be flaky in example
1 parent 047c2cd commit 5f24b0e

File tree

2 files changed

+2
-2
lines changed
  • core-tests/e2e-tests/spring

2 files changed

+2
-2
lines changed

core-tests/e2e-tests/spring/spring-rest-bb/src/main/kotlin/com/foo/rest/examples/bb/flakinessdetect/FlakinessDetectRest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class FlakinessDetectRest {
4545

4646
@GetMapping("/price/estimate")
4747
fun estimatePrice(@RequestParam base: Int): Map<String, Int> {
48-
val randomJitter = randomInt(10)
48+
val randomJitter = randomInt(1000)
4949

5050
val total = base + randomJitter
5151

core-tests/e2e-tests/spring/spring-rest-openapi-v3/src/main/kotlin/com/foo/rest/examples/spring/openapi/v3/flakinessdetect/FlakinessDetectRest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class FlakinessDetectRest {
4343

4444
@GetMapping("/price/estimate")
4545
fun estimatePrice(@RequestParam base: Int): Map<String, Int> {
46-
val randomJitter = randomInt(10)
46+
val randomJitter = randomInt(1000)
4747

4848
val total = base + randomJitter
4949

0 commit comments

Comments
 (0)