Skip to content

Commit a88cf57

Browse files
authored
test(build): enable snapshot tests - attempt 3 (#7777)
1 parent 6e32439 commit a88cf57

File tree

292 files changed

+7252
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

292 files changed

+7252
-9
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.txt text

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ test-integration: bundles
5555
node ./scripts/validation/no-generic-byte-arrays.js
5656
node ./scripts/compilation/Inliner.spec.js
5757
yarn g:vitest run -c vitest.config.integ.mts
58+
yarn generate-clients -p;
59+
git diff --exit-code ./private
5860
make test-protocols
5961
make test-types
60-
# make snapshot-compare
62+
make snapshot-compare
6163
make test-indices
6264
make test-endpoints
6365

@@ -111,7 +113,7 @@ b-auth:
111113

112114
# run turbo build for packages only.
113115
tpk:
114-
npx turbo run build --filter='./{packages,packages-internal}/*'
116+
node ./scripts/turbo build --filter='./{packages,packages-internal}/*'
115117

116118
# builds only packages that have no build at all.
117119
# for development only - packages may be stale.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
POST https://awsec2.us-east-1.amazonaws.com
2+
/
3+
4+
content-type: application/x-www-form-urlencoded
5+
content-length: 41
6+
x-amz-user-agent: aws-sdk-js/3.___._
7+
user-agent: aws-sdk-js/3.___._ ua/2.1 lang/js md/nodejs#_.__ api/ec2-protocol#_.__ m/E,e
8+
host: awsec2.us-east-1.amazonaws.com
9+
amz-sdk-invocation-id: 1111abcd-uuid-uuid-uuid-000000001111
10+
amz-sdk-request: attempt=1; max=3
11+
x-amz-date: 19991231T235959Z
12+
x-amz-content-sha256: 1d524094eb899dfdffb7fa7db35c0c0f0402bcbca76ac79cfede33e8a7ece975
13+
authorization: AWS4-HMAC-SHA256 Credential=***/19991231/us-east-1/ec2query/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-user-agent, Signature=***
14+
15+
[string (query)]
16+
Action=DatetimeOffsets&
17+
Version=2020-01-08
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
POST https://awsec2.us-east-1.amazonaws.com
2+
/
3+
4+
content-type: application/x-www-form-urlencoded
5+
content-length: 50
6+
x-amz-user-agent: aws-sdk-js/3.___._
7+
user-agent: aws-sdk-js/3.___._ ua/2.1 lang/js md/nodejs#_.__ api/ec2-protocol#_.__ m/E,e
8+
host: awsec2.us-east-1.amazonaws.com
9+
amz-sdk-invocation-id: 1111abcd-uuid-uuid-uuid-000000001111
10+
amz-sdk-request: attempt=1; max=3
11+
x-amz-date: 19991231T235959Z
12+
x-amz-content-sha256: 9fce3a4cbc65f0db9611810e550f3e3faf04be94ac95ff08c3cfc5f98927e0e2
13+
authorization: AWS4-HMAC-SHA256 Credential=***/19991231/us-east-1/ec2query/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-user-agent, Signature=***
14+
15+
[string (query)]
16+
Action=EmptyInputAndEmptyOutput&
17+
Version=2020-01-08
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
POST https://foo.awsec2.us-east-1.amazonaws.com
2+
/
3+
4+
content-type: application/x-www-form-urlencoded
5+
content-length: 43
6+
x-amz-user-agent: aws-sdk-js/3.___._
7+
user-agent: aws-sdk-js/3.___._ ua/2.1 lang/js md/nodejs#_.__ api/ec2-protocol#_.__ m/E,e
8+
host: foo.awsec2.us-east-1.amazonaws.com
9+
amz-sdk-invocation-id: 1111abcd-uuid-uuid-uuid-000000001111
10+
amz-sdk-request: attempt=1; max=3
11+
x-amz-date: 19991231T235959Z
12+
x-amz-content-sha256: 964ac3e8f5ffa7a0c2d194c7237ef144f5eb5b6fdc461ae6efb122bd5150b26b
13+
authorization: AWS4-HMAC-SHA256 Credential=***/19991231/us-east-1/ec2query/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-user-agent, Signature=***
14+
15+
[string (query)]
16+
Action=EndpointOperation&
17+
Version=2020-01-08
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
POST https://foo.__label__.awsec2.us-east-1.amazonaws.com
2+
/
3+
4+
content-type: application/x-www-form-urlencoded
5+
content-length: 72
6+
x-amz-user-agent: aws-sdk-js/3.___._
7+
user-agent: aws-sdk-js/3.___._ ua/2.1 lang/js md/nodejs#_.__ api/ec2-protocol#_.__ m/E,e
8+
host: foo.__label__.awsec2.us-east-1.amazonaws.com
9+
amz-sdk-invocation-id: 1111abcd-uuid-uuid-uuid-000000001111
10+
amz-sdk-request: attempt=1; max=3
11+
x-amz-date: 19991231T235959Z
12+
x-amz-content-sha256: 970ba77951ccaed3d5284500a399f68f89d7a1016e4ee19cc5f12441404f2a8c
13+
authorization: AWS4-HMAC-SHA256 Credential=***/19991231/us-east-1/ec2query/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-user-agent, Signature=***
14+
15+
[string (query)]
16+
Action=EndpointWithHostLabelOperation&
17+
Version=2020-01-08&
18+
Label=__label__
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
POST https://awsec2.us-east-1.amazonaws.com
2+
/
3+
4+
content-type: application/x-www-form-urlencoded
5+
content-length: 43
6+
x-amz-user-agent: aws-sdk-js/3.___._
7+
user-agent: aws-sdk-js/3.___._ ua/2.1 lang/js md/nodejs#_.__ api/ec2-protocol#_.__ m/E,e
8+
host: awsec2.us-east-1.amazonaws.com
9+
amz-sdk-invocation-id: 1111abcd-uuid-uuid-uuid-000000001111
10+
amz-sdk-request: attempt=1; max=3
11+
x-amz-date: 19991231T235959Z
12+
x-amz-content-sha256: 75e763e7adef4ce2c132113101c7e2f677179a12e8da063c03bb93e2c492594b
13+
authorization: AWS4-HMAC-SHA256 Credential=***/19991231/us-east-1/ec2query/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-user-agent, Signature=***
14+
15+
[string (query)]
16+
Action=FractionalSeconds&
17+
Version=2020-01-08
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
POST https://awsec2.us-east-1.amazonaws.com
2+
/
3+
4+
content-type: application/x-www-form-urlencoded
5+
content-length: 44
6+
x-amz-user-agent: aws-sdk-js/3.___._
7+
user-agent: aws-sdk-js/3.___._ ua/2.1 lang/js md/nodejs#_.__ api/ec2-protocol#_.__ m/E,e
8+
host: awsec2.us-east-1.amazonaws.com
9+
amz-sdk-invocation-id: 1111abcd-uuid-uuid-uuid-000000001111
10+
amz-sdk-request: attempt=1; max=3
11+
x-amz-date: 19991231T235959Z
12+
x-amz-content-sha256: 2b2e736dc6dcacd91eb79f6ae3d2ffb454788e6202d22129b7d01f1a564376fe
13+
authorization: AWS4-HMAC-SHA256 Credential=***/19991231/us-east-1/ec2query/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-user-agent, Signature=***
14+
15+
[string (query)]
16+
Action=GreetingWithErrors&
17+
Version=2020-01-08
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
POST https://awsec2.us-east-1.amazonaws.com
2+
/
3+
4+
content-type: application/x-www-form-urlencoded
5+
content-length: 47
6+
x-amz-user-agent: aws-sdk-js/3.___._
7+
user-agent: aws-sdk-js/3.___._ ua/2.1 lang/js md/nodejs#_.__ api/ec2-protocol#_.__ m/E,e
8+
host: awsec2.us-east-1.amazonaws.com
9+
amz-sdk-invocation-id: 1111abcd-uuid-uuid-uuid-000000001111
10+
amz-sdk-request: attempt=1; max=3
11+
x-amz-date: 19991231T235959Z
12+
x-amz-content-sha256: 9c00836a8979db33808b1d13077df50648b9cd7bb32e90bcf40710ec667ad144
13+
authorization: AWS4-HMAC-SHA256 Credential=***/19991231/us-east-1/ec2query/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-user-agent, Signature=***
14+
15+
[string (query)]
16+
Action=HostWithPathOperation&
17+
Version=2020-01-08
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
POST https://awsec2.us-east-1.amazonaws.com
2+
/
3+
4+
content-type: application/x-www-form-urlencoded
5+
content-length: 48
6+
x-amz-user-agent: aws-sdk-js/3.___._
7+
user-agent: aws-sdk-js/3.___._ ua/2.1 lang/js md/nodejs#_.__ api/ec2-protocol#_.__ m/E,e
8+
host: awsec2.us-east-1.amazonaws.com
9+
amz-sdk-invocation-id: 1111abcd-uuid-uuid-uuid-000000001111
10+
amz-sdk-request: attempt=1; max=3
11+
x-amz-date: 19991231T235959Z
12+
x-amz-content-sha256: f1c53d5d0fbaefe61196f854e2de181582efaa73a585523a8cb8f962b5ea0839
13+
authorization: AWS4-HMAC-SHA256 Credential=***/19991231/us-east-1/ec2query/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-user-agent, Signature=***
14+
15+
[string (query)]
16+
Action=IgnoresWrappingXmlName&
17+
Version=2020-01-08

0 commit comments

Comments
 (0)