@@ -452,78 +452,6 @@ limit:
452
452
Additionally, implementers are encouraged to place high priority information about the platform earlier in the string,
453
453
in order to avoid possible truncating of those details.
454
454
455
- ## Test Plan
456
-
457
- Drivers that capture values for ` client.env ` should test that a connection and hello command succeeds in the presence of
458
- the following sets of environment variables:
459
-
460
- 1 . Valid AWS
461
-
462
- | Environment Variable | Value |
463
- | --------------------------------- | ------------------ |
464
- | ` AWS_EXECUTION_ENV ` | ` AWS_Lambda_java8 ` |
465
- | ` AWS_REGION ` | ` us-east-2 ` |
466
- | ` AWS_LAMBDA_FUNCTION_MEMORY_SIZE ` | ` 1024 ` |
467
-
468
- 2 . Valid Azure
469
-
470
- | Environment Variable | Value |
471
- | -------------------------- | ------ |
472
- | ` FUNCTIONS_WORKER_RUNTIME ` | ` node ` |
473
-
474
- 3 . Valid GCP
475
-
476
- | Environment Variable | Value |
477
- | ---------------------- | ------------- |
478
- | ` K_SERVICE ` | ` servicename ` |
479
- | ` FUNCTION_MEMORY_MB ` | ` 1024 ` |
480
- | ` FUNCTION_TIMEOUT_SEC ` | ` 60 ` |
481
- | ` FUNCTION_REGION ` | ` us-central1 ` |
482
-
483
- 4 . Valid Vercel
484
-
485
- | Environment Variable | Value |
486
- | -------------------- | ------ |
487
- | ` VERCEL ` | ` 1 ` |
488
- | ` VERCEL_REGION ` | ` cdg1 ` |
489
-
490
- 5 . Invalid - multiple providers
491
-
492
- | Environment Variable | Value |
493
- | -------------------------- | ------------------ |
494
- | ` AWS_EXECUTION_ENV ` | ` AWS_Lambda_java8 ` |
495
- | ` FUNCTIONS_WORKER_RUNTIME ` | ` node ` |
496
-
497
- 6 . Invalid - long string
498
-
499
- | Environment Variable | Value |
500
- | -------------------- | ---------------------- |
501
- | ` AWS_EXECUTION_ENV ` | ` AWS_Lambda_java8 ` |
502
- | ` AWS_REGION ` | ` a ` repeated 512 times |
503
-
504
- 7 . Invalid - wrong types
505
-
506
- | Environment Variable | Value |
507
- | --------------------------------- | ------------------ |
508
- | ` AWS_EXECUTION_ENV ` | ` AWS_Lambda_java8 ` |
509
- | ` AWS_LAMBDA_FUNCTION_MEMORY_SIZE ` | ` big ` |
510
-
511
- 8 . Invalid - ` AWS_EXECUTION_ENV ` does not start with ` "AWS_Lambda_" `
512
-
513
- | Environment Variable | Value |
514
- | -------------------- | ----- |
515
- | ` AWS_EXECUTION_ENV ` | ` EC2 ` |
516
-
517
- 9 . Valid container and FaaS provider. This test MUST verify that both the container metadata and the AWS Lambda metadata
518
- is present in ` client.env ` .
519
-
520
- | Environment Variable | Value |
521
- | --------------------------------- | ------------------ |
522
- | ` AWS_EXECUTION_ENV ` | ` AWS_Lambda_java8 ` |
523
- | ` AWS_REGION ` | ` us-east-2 ` |
524
- | ` AWS_LAMBDA_FUNCTION_MEMORY_SIZE ` | ` 1024 ` |
525
- | ` KUBERNETES_SERVICE_HOST ` | ` 1 ` |
526
-
527
455
## Motivation For Change
528
456
529
457
Being able to annotate individual connections with custom data will allow users and sysadmins to easily correlate events
@@ -606,6 +534,7 @@ support the `hello` command, the `helloOk: true` argument is ignored and the leg
606
534
607
535
## Changelog
608
536
537
+ - 2024-11-05: Move handshake prose tests from spec file to prose test file.
609
538
- 2024-10-09: Clarify that FaaS and container metadata must both be populated when both are present.
610
539
- 2024-08-16: Migrated from reStructuredText to Markdown.
611
540
- 2019-11-13: Added section about supporting wrapping libraries
0 commit comments