Commit 1650e1d
test: add contract tests for converse API (#747)
*Issue #, if available:*
*Description of changes:*
Similar to
aws-observability/aws-otel-js-instrumentation#450
Add converse contract test to validate upstream behavior and be notified
of changes in Converse API support.
The converse_stream test is not included, as botocore is unable to parse
a mocked streaming response - it requires a live HTTP connection to
construct an EventStream object which our infra cannot provide. This is
only covered by the NodeJS contract tests.
By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
---------
Co-authored-by: Steve Liu <liustve@amazon.com>1 parent d19ca2e commit 1650e1d
2 files changed
Lines changed: 51 additions & 0 deletions
File tree
- contract-tests
- images/applications/botocore
- tests/test/amazon/botocore
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
679 | 679 | | |
680 | 680 | | |
681 | 681 | | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
682 | 703 | | |
683 | 704 | | |
684 | 705 | | |
| |||
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
663 | 664 | | |
664 | 665 | | |
665 | 666 | | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
666 | 696 | | |
667 | 697 | | |
668 | 698 | | |
| |||
0 commit comments