Skip to content

Commit 502219b

Browse files
committed
Fixed unstable test PostponedActionIsCompletedByWatchDog
1 parent 3f0269b commit 502219b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ protected async Task PostponedActionIsCompletedByWatchDog(Task<IFunctionStore> s
156156
store,
157157
new Settings(
158158
unhandledExceptionHandler.Catch,
159-
leaseLength: TimeSpan.Zero,
160159
watchdogCheckFrequency: TimeSpan.FromMilliseconds(100)
161160
)
162161
);
@@ -247,7 +246,7 @@ protected async Task PostponedActionIsCompletedByWatchDogAfterCrash(Task<IFuncti
247246
new Settings(
248247
unhandledExceptionHandler.Catch,
249248
leaseLength: TimeSpan.Zero,
250-
watchdogCheckFrequency: TimeSpan.FromSeconds(10)
249+
enableWatchdogs: false
251250
)
252251
);
253252
var rFunc = functionsRegistry
@@ -265,7 +264,6 @@ protected async Task PostponedActionIsCompletedByWatchDogAfterCrash(Task<IFuncti
265264
crashableStore,
266265
new Settings(
267266
unhandledExceptionHandler.Catch,
268-
leaseLength: TimeSpan.Zero,
269267
watchdogCheckFrequency: TimeSpan.FromMilliseconds(100)
270268
)
271269
);

0 commit comments

Comments
 (0)