From 43071e43a0743ff8c7913bba7819952962124355 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Mon, 25 Jan 2021 22:47:02 +0300 Subject: Initial commit of the Temporal plugins set --- .../Workflow/ExceptionalActivityWorkflow.php | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tests/temporal/Workflow/ExceptionalActivityWorkflow.php (limited to 'tests/temporal/Workflow/ExceptionalActivityWorkflow.php') diff --git a/tests/temporal/Workflow/ExceptionalActivityWorkflow.php b/tests/temporal/Workflow/ExceptionalActivityWorkflow.php new file mode 100644 index 00000000..e0ed0005 --- /dev/null +++ b/tests/temporal/Workflow/ExceptionalActivityWorkflow.php @@ -0,0 +1,25 @@ +withStartToCloseTimeout(5) + ->withRetryOptions((new RetryOptions())->withMaximumAttempts(1)) + ); + + return yield $simple->fail(); + } +} -- cgit v1.2.3