Commit d0e644f
authored
test(integration): use stopProc in package tests (#7839)
Replace direct proc.kill() teardown in package-hosted
integration specs with await stopProc(proc).
This makes process shutdown consistent with the root
integration tests and reduces flakiness from leaked child
process state. Add an optional signal to preserve the
existing SIGINT-based Azure teardown behavior.1 parent 122c405 commit d0e644f
File tree
97 files changed
+322
-155
lines changed- integration-tests/helpers
- packages
- datadog-plugin-ai/test/integration-test
- datadog-plugin-amqp10/test/integration-test
- datadog-plugin-amqplib/test/integration-test
- datadog-plugin-anthropic/test/integration-test
- datadog-plugin-aws-sdk/test/integration-test
- datadog-plugin-axios/test/integration-test
- datadog-plugin-azure-durable-functions/test/integration-test
- datadog-plugin-azure-event-hubs/test/integration-test
- batchSpanContextRegressionTest
- core-test
- tryAddRegressionTest
- datadog-plugin-azure-functions/test/integration-test
- eventhubs-test
- http-test
- servicebus-test
- datadog-plugin-azure-service-bus/test/integration-test
- core-test
- tryAddMessageRegressionTest
- datadog-plugin-body-parser/test/integration-test
- datadog-plugin-bullmq/test/integration-test
- datadog-plugin-bunyan/test/integration-test
- datadog-plugin-cassandra-driver/test/integration-test
- datadog-plugin-confluentinc-kafka-javascript/test/integration-test
- datadog-plugin-connect/test/integration-test
- datadog-plugin-cookie-parser/test/integration-test
- datadog-plugin-cookie/test/integration-test
- datadog-plugin-couchbase/test/integration-test
- datadog-plugin-crypto/test/integration-test
- datadog-plugin-dns/test/integration-test
- datadog-plugin-elasticsearch/test/integration-test
- datadog-plugin-express-mongo-sanitize/test/integration-test
- datadog-plugin-express-session/test/integration-test
- datadog-plugin-express/test/integration-test
- datadog-plugin-fastify/test/integration-test
- datadog-plugin-fetch/test/integration-test
- datadog-plugin-generic-pool/test/integration-test
- datadog-plugin-google-cloud-pubsub/test/integration-test
- datadog-plugin-google-cloud-vertexai/test/integration-test
- datadog-plugin-google-genai/test/integration-test
- datadog-plugin-graphql/test
- esm-test
- integration-test
- datadog-plugin-grpc/test/integration-test
- datadog-plugin-handlebars/test/integration-test
- datadog-plugin-hapi/test/integration-test
- datadog-plugin-hono/test/integration-test
- datadog-plugin-http2/test/integration-test
- datadog-plugin-http/test/integration-test
- datadog-plugin-ioredis/test/integration-test
- datadog-plugin-iovalkey/test/integration-test
- datadog-plugin-kafkajs/test/integration-test
- datadog-plugin-knex/test/integration-test
- datadog-plugin-koa/test/integration-test
- datadog-plugin-langchain/test/integration-test
- datadog-plugin-ldapjs/test/integration-test
- datadog-plugin-light-my-request/test/integration-test
- datadog-plugin-limitd-client/test/integration-test
- datadog-plugin-lodash/test/integration-test
- datadog-plugin-mariadb/test/integration-test
- datadog-plugin-memcached/test/integration-test
- datadog-plugin-microgateway-core/test/integration-test
- datadog-plugin-moleculer/test/integration-test
- datadog-plugin-mongodb-core/test/integration-test
- datadog-plugin-mongoose/test/integration-test
- datadog-plugin-multer/test/integration-test
- datadog-plugin-mysql2/test/integration-test
- datadog-plugin-mysql/test/integration-test
- datadog-plugin-net/test/integration-test
- datadog-plugin-next/test/integration-test
- datadog-plugin-node-serialize/test/integration-test
- datadog-plugin-openai/test/integration-test
- datadog-plugin-opensearch/test/integration-test
- datadog-plugin-oracledb/test/integration-test
- datadog-plugin-passport-http/test/integration-test
- datadog-plugin-pg/test/integration-test
- datadog-plugin-pino/test/integration-test
- datadog-plugin-prisma/test/integration-test
- datadog-plugin-process/test/integration-test
- datadog-plugin-pug/test/integration-test
- datadog-plugin-redis/test/integration-test
- datadog-plugin-restify/test/integration-test
- datadog-plugin-rhea/test/integration-test
- datadog-plugin-router/test/integration-test
- datadog-plugin-sequelize/test/integration-test
- datadog-plugin-tedious/test/integration-test
- datadog-plugin-url/test/integration-test
- datadog-plugin-vm/test/integration-test
- datadog-plugin-winston/test/integration-test
- dd-trace/test
- appsec
- iast
- rasp
- llmobs/sdk/typescript
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
97 files changed
+322
-155
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| 272 | + | |
272 | 273 | | |
273 | 274 | | |
274 | 275 | | |
275 | | - | |
| 276 | + | |
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
279 | | - | |
| 280 | + | |
| 281 | + | |
280 | 282 | | |
281 | | - | |
282 | | - | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
283 | 287 | | |
284 | 288 | | |
285 | 289 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 39 | + | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments