Skip to content

Commit bcf652d

Browse files
fix(dropwizard-dedup): split 200 fixtures into 8 sets of 25
Root cause for the docker java-dedup failure (`expected 200 covered tests, found 134` from common.sh assertion 419-420): The keploy-v3 sidecar that reads /tmp/coverage_data.sock and writes dedupData.yaml inside the container has a timer-based flush. Each test set's runtime needs to fit inside one flush window for all the coverage entries to land in the file before keploy enterprise pulls it ("Successfully synced dedupData.yaml from container"). - Spring (java-dedup): 100 tests/set runs in ~11 s at ~3-10 ms/test (Tomcat is fast, JaCoCo footprint is small) — fits cleanly. - Dropwizard at 50 tests/set was running ~14 s at ~150-280 ms/test (Jetty is heavier) — flushes after the first ~33 tests and the remaining 17 stay in the sidecar buffer until container teardown. Splitting the same 200 fixtures into 8 sets x 25 keeps each keploy test --dedup invocation under the flush window: 25 tests * ~280 ms = ~7 s per set << flush window. The fixture content is identical to before — just redistributed. The sidecar flush bug is on enterprise side; this is the samples-side workaround until that lands. Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
1 parent 89f2a72 commit bcf652d

238 files changed

Lines changed: 2965 additions & 2965 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dropwizard-dedup/keploy/test-set-0/tests/test-1.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ spec:
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T20:48:01Z
17+
timestamp: 2026-04-30T21:14:38Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 20:48:01 GMT'
21+
Date: 'Thu, 30 Apr 2026 21:14:38 GMT'
2222
Content-Type: application/json
2323
Vary: Accept-Encoding
2424
Content-Length: 16
2525
body: '{"healthy":true}'
2626
status_message: OK
2727
proto_major: 0
2828
proto_minor: 0
29-
timestamp: 2026-04-30T20:48:01Z
29+
timestamp: 2026-04-30T21:14:38Z
3030
objects: []
3131
assertions:
3232
noise:
3333
header.Date: []
3434
header.Vary: []
3535
header.Content-Length: []
36-
created: 1777582081
36+
created: 1777583678
3737
app_port: 8080
3838
curl: |
3939
curl --request GET \

dropwizard-dedup/keploy/test-set-0/tests/test-10.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ spec:
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T20:48:01Z
17+
timestamp: 2026-04-30T21:14:38Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 20:48:01 GMT'
21+
Date: 'Thu, 30 Apr 2026 21:14:38 GMT'
2222
Content-Type: application/json
2323
Vary: Accept-Encoding
2424
Content-Length: 257
2525
body: '{"category":"books","limit":2,"items":[{"sku":"BK-1","name":"Clean Architecture","category":"books","status":"available","price":"32.50"},{"sku":"BK-2","name":"Effective Java","category":"books","status":"available","price":"45.00"}],"source":"warehouse-a"}'
2626
status_message: OK
2727
proto_major: 0
2828
proto_minor: 0
29-
timestamp: 2026-04-30T20:48:01Z
29+
timestamp: 2026-04-30T21:14:38Z
3030
objects: []
3131
assertions:
3232
noise:
3333
header.Date: []
3434
header.Vary: []
3535
header.Content-Length: []
36-
created: 1777582081
36+
created: 1777583678
3737
app_port: 8080
3838
curl: |
3939
curl --request GET \

dropwizard-dedup/keploy/test-set-0/tests/test-11.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ spec:
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T20:48:01Z
17+
timestamp: 2026-04-30T21:14:38Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 20:48:01 GMT'
21+
Date: 'Thu, 30 Apr 2026 21:14:38 GMT'
2222
Content-Type: application/json
2323
Vary: Accept-Encoding
2424
Content-Length: 257
2525
body: '{"category":"books","limit":3,"items":[{"sku":"BK-1","name":"Clean Architecture","category":"books","status":"available","price":"32.50"},{"sku":"BK-2","name":"Effective Java","category":"books","status":"available","price":"45.00"}],"source":"warehouse-a"}'
2626
status_message: OK
2727
proto_major: 0
2828
proto_minor: 0
29-
timestamp: 2026-04-30T20:48:01Z
29+
timestamp: 2026-04-30T21:14:38Z
3030
objects: []
3131
assertions:
3232
noise:
3333
header.Date: []
3434
header.Vary: []
3535
header.Content-Length: []
36-
created: 1777582081
36+
created: 1777583678
3737
app_port: 8080
3838
curl: |
3939
curl --request GET \

dropwizard-dedup/keploy/test-set-0/tests/test-12.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ spec:
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T20:48:01Z
17+
timestamp: 2026-04-30T21:14:38Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 20:48:01 GMT'
21+
Date: 'Thu, 30 Apr 2026 21:14:38 GMT'
2222
Content-Type: application/json
2323
Vary: Accept-Encoding
2424
Content-Length: 257
2525
body: '{"category":"books","limit":5,"items":[{"sku":"BK-1","name":"Clean Architecture","category":"books","status":"available","price":"32.50"},{"sku":"BK-2","name":"Effective Java","category":"books","status":"available","price":"45.00"}],"source":"warehouse-a"}'
2626
status_message: OK
2727
proto_major: 0
2828
proto_minor: 0
29-
timestamp: 2026-04-30T20:48:01Z
29+
timestamp: 2026-04-30T21:14:38Z
3030
objects: []
3131
assertions:
3232
noise:
3333
header.Date: []
3434
header.Vary: []
3535
header.Content-Length: []
36-
created: 1777582081
36+
created: 1777583678
3737
app_port: 8080
3838
curl: |
3939
curl --request GET \

dropwizard-dedup/keploy/test-set-0/tests/test-13.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ spec:
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T20:48:01Z
17+
timestamp: 2026-04-30T21:14:38Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 20:48:01 GMT'
21+
Date: 'Thu, 30 Apr 2026 21:14:38 GMT'
2222
Content-Type: application/json
2323
Vary: Accept-Encoding
2424
Content-Length: 184
2525
body: '{"category":"electronics","limit":1,"items":[{"sku":"EL-1","name":"Noise Cancelling Headphones","category":"electronics","status":"backorder","price":"199.99"}],"source":"warehouse-b"}'
2626
status_message: OK
2727
proto_major: 0
2828
proto_minor: 0
29-
timestamp: 2026-04-30T20:48:01Z
29+
timestamp: 2026-04-30T21:14:38Z
3030
objects: []
3131
assertions:
3232
noise:
3333
header.Date: []
3434
header.Vary: []
3535
header.Content-Length: []
36-
created: 1777582081
36+
created: 1777583678
3737
app_port: 8080
3838
curl: |
3939
curl --request GET \

dropwizard-dedup/keploy/test-set-0/tests/test-14.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ spec:
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T20:48:01Z
17+
timestamp: 2026-04-30T21:14:38Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 20:48:01 GMT'
21+
Date: 'Thu, 30 Apr 2026 21:14:38 GMT'
2222
Content-Type: application/json
2323
Vary: Accept-Encoding
2424
Content-Length: 281
2525
body: '{"category":"electronics","limit":2,"items":[{"sku":"EL-1","name":"Noise Cancelling Headphones","category":"electronics","status":"backorder","price":"199.99"},{"sku":"EL-2","name":"USB-C Dock","category":"electronics","status":"available","price":"89.00"}],"source":"warehouse-b"}'
2626
status_message: OK
2727
proto_major: 0
2828
proto_minor: 0
29-
timestamp: 2026-04-30T20:48:01Z
29+
timestamp: 2026-04-30T21:14:38Z
3030
objects: []
3131
assertions:
3232
noise:
3333
header.Date: []
3434
header.Vary: []
3535
header.Content-Length: []
36-
created: 1777582081
36+
created: 1777583678
3737
app_port: 8080
3838
curl: |
3939
curl --request GET \

dropwizard-dedup/keploy/test-set-0/tests/test-15.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ spec:
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T20:48:01Z
17+
timestamp: 2026-04-30T21:14:38Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 20:48:01 GMT'
21+
Date: 'Thu, 30 Apr 2026 21:14:38 GMT'
2222
Content-Type: application/json
2323
Vary: Accept-Encoding
2424
Content-Length: 281
2525
body: '{"category":"electronics","limit":3,"items":[{"sku":"EL-1","name":"Noise Cancelling Headphones","category":"electronics","status":"backorder","price":"199.99"},{"sku":"EL-2","name":"USB-C Dock","category":"electronics","status":"available","price":"89.00"}],"source":"warehouse-b"}'
2626
status_message: OK
2727
proto_major: 0
2828
proto_minor: 0
29-
timestamp: 2026-04-30T20:48:01Z
29+
timestamp: 2026-04-30T21:14:38Z
3030
objects: []
3131
assertions:
3232
noise:
3333
header.Date: []
3434
header.Vary: []
3535
header.Content-Length: []
36-
created: 1777582081
36+
created: 1777583678
3737
app_port: 8080
3838
curl: |
3939
curl --request GET \

dropwizard-dedup/keploy/test-set-0/tests/test-16.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ spec:
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T20:48:01Z
17+
timestamp: 2026-04-30T21:14:38Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 20:48:01 GMT'
21+
Date: 'Thu, 30 Apr 2026 21:14:38 GMT'
2222
Content-Type: application/json
2323
Vary: Accept-Encoding
2424
Content-Length: 281
2525
body: '{"category":"electronics","limit":5,"items":[{"sku":"EL-1","name":"Noise Cancelling Headphones","category":"electronics","status":"backorder","price":"199.99"},{"sku":"EL-2","name":"USB-C Dock","category":"electronics","status":"available","price":"89.00"}],"source":"warehouse-b"}'
2626
status_message: OK
2727
proto_major: 0
2828
proto_minor: 0
29-
timestamp: 2026-04-30T20:48:01Z
29+
timestamp: 2026-04-30T21:14:38Z
3030
objects: []
3131
assertions:
3232
noise:
3333
header.Date: []
3434
header.Vary: []
3535
header.Content-Length: []
36-
created: 1777582081
36+
created: 1777583678
3737
app_port: 8080
3838
curl: |
3939
curl --request GET \

dropwizard-dedup/keploy/test-set-0/tests/test-17.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ spec:
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T20:48:01Z
17+
timestamp: 2026-04-30T21:14:38Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 20:48:01 GMT'
21+
Date: 'Thu, 30 Apr 2026 21:14:38 GMT'
2222
Content-Type: application/json
2323
Vary: Accept-Encoding
2424
Content-Length: 161
2525
body: '{"category":"home","limit":1,"items":[{"sku":"BK-1","name":"Clean Architecture","category":"books","status":"available","price":"32.50"}],"source":"warehouse-a"}'
2626
status_message: OK
2727
proto_major: 0
2828
proto_minor: 0
29-
timestamp: 2026-04-30T20:48:01Z
29+
timestamp: 2026-04-30T21:14:38Z
3030
objects: []
3131
assertions:
3232
noise:
3333
header.Date: []
3434
header.Vary: []
3535
header.Content-Length: []
36-
created: 1777582081
36+
created: 1777583678
3737
app_port: 8080
3838
curl: |
3939
curl --request GET \

dropwizard-dedup/keploy/test-set-0/tests/test-18.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ spec:
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T20:48:01Z
17+
timestamp: 2026-04-30T21:14:38Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 20:48:01 GMT'
21+
Date: 'Thu, 30 Apr 2026 21:14:38 GMT'
2222
Content-Type: application/json
2323
Vary: Accept-Encoding
2424
Content-Length: 256
2525
body: '{"category":"home","limit":2,"items":[{"sku":"BK-1","name":"Clean Architecture","category":"books","status":"available","price":"32.50"},{"sku":"BK-2","name":"Effective Java","category":"books","status":"available","price":"45.00"}],"source":"warehouse-a"}'
2626
status_message: OK
2727
proto_major: 0
2828
proto_minor: 0
29-
timestamp: 2026-04-30T20:48:01Z
29+
timestamp: 2026-04-30T21:14:38Z
3030
objects: []
3131
assertions:
3232
noise:
3333
header.Date: []
3434
header.Vary: []
3535
header.Content-Length: []
36-
created: 1777582081
36+
created: 1777583678
3737
app_port: 8080
3838
curl: |
3939
curl --request GET \

0 commit comments

Comments
 (0)