Skip to content

Commit 5f1ea30

Browse files
committed
undo
1 parent daa207f commit 5f1ea30

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

dd-java-agent/appsec/src/test/groovy/com/datadog/appsec/api/security/ApiSecuritySamplerTest.groovy

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,6 @@ class ApiSecuritySamplerTest extends DDSpecification {
2525
sampled
2626
}
2727

28-
void 'happy path with single request and tracing disabled'() {
29-
given:
30-
final ctx = createContext('route1', 'GET', 200)
31-
final sampler = new ApiSecuritySamplerImpl()
32-
33-
when:
34-
final preSampled = sampler.preSampleRequest(ctx)
35-
36-
then:
37-
preSampled
38-
39-
when:
40-
ctx.setKeepOpenForApiSecurityPostProcessing(true)
41-
final sampled = sampler.sampleRequest(ctx)
42-
43-
then:
44-
sampled
45-
}
46-
4728
void 'second request is not sampled for the same endpoint'() {
4829
given:
4930
AppSecRequestContext ctx1 = createContext('route1', 'GET', 200)

0 commit comments

Comments
 (0)