Skip to content

Commit 0d88f63

Browse files
committed
Remove parentheses from failure threshold exceeded example names
- Change '(count)' to 'count' and '(percentage)' to 'percentage' - Fixes AWS Lambda function name validation error - Parentheses are not allowed in Lambda function names
1 parent edaa096 commit 0d88f63

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

packages/aws-durable-execution-sdk-js-examples/src/examples/map/failure-threshold-exceeded-count/map-failure-threshold-exceeded-count.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { handler } from "./map-failure-threshold-exceeded-count";
22
import { createTests } from "../../../utils/test-helper";
33

44
createTests({
5-
name: "Map failure threshold exceeded (count)",
5+
name: "Map failure threshold exceeded count",
66
functionName: "map-failure-threshold-exceeded-count",
77
handler,
88
tests: (runner) => {

packages/aws-durable-execution-sdk-js-examples/src/examples/map/failure-threshold-exceeded-count/map-failure-threshold-exceeded-count.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
import { ExampleConfig } from "../../../types";
66

77
export const config: ExampleConfig = {
8-
name: "Map failure threshold exceeded (count)",
8+
name: "Map failure threshold exceeded count",
99
description: "Map operation where failure count exceeds tolerance threshold",
1010
};
1111

packages/aws-durable-execution-sdk-js-examples/src/examples/map/failure-threshold-exceeded-percentage/map-failure-threshold-exceeded-percentage.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { handler } from "./map-failure-threshold-exceeded-percentage";
22
import { createTests } from "../../../utils/test-helper";
33

44
createTests({
5-
name: "Map failure threshold exceeded (percentage)",
5+
name: "Map failure threshold exceeded percentage",
66
functionName: "map-failure-threshold-exceeded-percentage",
77
handler,
88
tests: (runner) => {

packages/aws-durable-execution-sdk-js-examples/src/examples/map/failure-threshold-exceeded-percentage/map-failure-threshold-exceeded-percentage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
import { ExampleConfig } from "../../../types";
66

77
export const config: ExampleConfig = {
8-
name: "Map failure threshold exceeded (percentage)",
8+
name: "Map failure threshold exceeded percentage",
99
description:
1010
"Map operation where failure percentage exceeds tolerance threshold",
1111
};

packages/aws-durable-execution-sdk-js-examples/src/examples/parallel/failure-threshold-exceeded-count/parallel-failure-threshold-exceeded-count.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { handler } from "./parallel-failure-threshold-exceeded-count";
22
import { createTests } from "../../../utils/test-helper";
33

44
createTests({
5-
name: "Parallel failure threshold exceeded (count)",
5+
name: "Parallel failure threshold exceeded count",
66
functionName: "parallel-failure-threshold-exceeded-count",
77
handler,
88
tests: (runner) => {

packages/aws-durable-execution-sdk-js-examples/src/examples/parallel/failure-threshold-exceeded-count/parallel-failure-threshold-exceeded-count.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
import { ExampleConfig } from "../../../types";
66

77
export const config: ExampleConfig = {
8-
name: "Parallel failure threshold exceeded (count)",
8+
name: "Parallel failure threshold exceeded count",
99
description:
1010
"Parallel operation where failure count exceeds tolerance threshold",
1111
};

packages/aws-durable-execution-sdk-js-examples/src/examples/parallel/failure-threshold-exceeded-percentage/parallel-failure-threshold-exceeded-percentage.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { handler } from "./parallel-failure-threshold-exceeded-percentage";
22
import { createTests } from "../../../utils/test-helper";
33

44
createTests({
5-
name: "Parallel failure threshold exceeded (percentage)",
5+
name: "Parallel failure threshold exceeded percentage",
66
functionName: "parallel-failure-threshold-exceeded-percentage",
77
handler,
88
tests: (runner) => {

packages/aws-durable-execution-sdk-js-examples/src/examples/parallel/failure-threshold-exceeded-percentage/parallel-failure-threshold-exceeded-percentage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
import { ExampleConfig } from "../../../types";
66

77
export const config: ExampleConfig = {
8-
name: "Parallel failure threshold exceeded (percentage)",
8+
name: "Parallel failure threshold exceeded percentage",
99
description:
1010
"Parallel operation where failure percentage exceeds tolerance threshold",
1111
};

0 commit comments

Comments
 (0)