Skip to content

Commit 6b45d72

Browse files
authored
test(core): modify request compression threshold values (#7414)
1 parent a94d95f commit 6b45d72

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/core/integ/request-compression.integ.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ describe("request compression", () => {
8282
});
8383
});
8484

85-
it("should compress payloads barely beyond the specified limit", async () => {
85+
it("should compress payloads beyond the specified limit", async () => {
8686
const cw = new CloudWatch({
8787
credentials,
88-
requestMinCompressionSizeBytes: 277_419,
88+
requestMinCompressionSizeBytes: 100_000,
8989
region: "us-west-2",
9090
});
9191

@@ -101,10 +101,10 @@ describe("request compression", () => {
101101
});
102102
});
103103

104-
it("should not compress payloads barely below the specified limit", async () => {
104+
it("should not compress payloads below the specified limit", async () => {
105105
const cw = new CloudWatch({
106106
credentials,
107-
requestMinCompressionSizeBytes: 277_420,
107+
requestMinCompressionSizeBytes: 300_000,
108108
region: "us-west-2",
109109
});
110110

0 commit comments

Comments
 (0)