Skip to content

Commit c95eb35

Browse files
authored
test: improve flakiness for appsec ssrf express tests (#6623)
1 parent 4bb779b commit c95eb35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/dd-trace/test/appsec/rasp/ssrf.express.plugin.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ describe('RASP - ssrf', () => {
121121

122122
// we preload axios because it's lazyloading a debug dependency
123123
// that in turns trigger LFI
124-
axiosToTest.get('http://preloadaxios').catch(noop).then(done)
124+
125+
axiosToTest.get('http://preloadaxios', { timeout: 10 }).catch(noop).then(done)
125126
})
126127

127128
it('Should not detect threat', async () => {

0 commit comments

Comments
 (0)