Skip to content

Commit 0b131c5

Browse files
committed
Increase max wait in suspension tests
1 parent 0929c91 commit 0b131c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Core/Cleipnir.ResilientFunctions.Tests/TestTemplates/RFunctionTests/SuspensionTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ protected async Task ParentCanWaitForChildAction(Task<IFunctionStore> storeTask)
413413
inner: Task (string param) => child.Schedule("SomeChildInstance#1", param).Completion()
414414
);
415415

416-
await parent.Schedule(parentFunctionId.Instance.Value, param: "hello").Completion(maxWait: TimeSpan.FromSeconds(5));
416+
await parent.Schedule(parentFunctionId.Instance.Value, param: "hello").Completion(maxWait: TimeSpan.FromSeconds(100));
417417
unhandledExceptionHandler.ShouldNotHaveExceptions();
418418
}
419419

@@ -437,7 +437,7 @@ protected async Task ParentCanWaitForFailedChildAction(Task<IFunctionStore> stor
437437
);
438438

439439
await Should.ThrowAsync<FatalWorkflowException>(
440-
() => parent.Schedule(parentFunctionId.Instance.Value, param: "hello").Completion(maxWait: TimeSpan.FromSeconds(5))
440+
() => parent.Schedule(parentFunctionId.Instance.Value, param: "hello").Completion(maxWait: TimeSpan.FromSeconds(100))
441441
);
442442

443443
unhandledExceptionHandler.ThrownExceptions.ShouldNotBeEmpty();

0 commit comments

Comments
 (0)