File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Core/Cleipnir.ResilientFunctions.Tests/Messaging/TestTemplates Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,10 @@ protected async Task CustomEventSerializerIsUsedWhenSpecified(Task<IFunctionStor
3232
3333 var scheduled = await registration . Schedule ( flowId . Instance ) ;
3434 await registration . MessageWriters . For ( flowId . Instance ) . AppendMessage ( "hello world" ) ;
35-
36- await BusyWait . Until ( ( ) => EventSerializer . EventToDeserialize . Count > 0 ) ;
37- EventSerializer . EventToDeserialize . First ( ) . Item1 . DeserializeFromJsonTo < string > ( ) . ShouldBe ( "hello world" ) ;
38- EventSerializer . EventToSerialize . First ( ) . ShouldBe ( "hello world" ) ;
35+
3936 await scheduled . Completion ( ) ;
37+ EventSerializer . EventToDeserialize . Any ( ) . ShouldBeTrue ( ) ;
38+ EventSerializer . EventToSerialize . Any ( ) . ShouldBeTrue ( ) ;
4039 }
4140
4241 private class EventSerializer : ISerializer
You can’t perform that action at this time.
0 commit comments