Skip to content

Commit

Permalink
Update WorkerOptions_CanChangeOptionalCapabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
liliankasem committed Sep 11, 2024
1 parent 4828f0f commit 7b57069
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/DotNetWorkerTests/GrpcWorkerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ void AssertKeyAndValue(KeyValuePair<string, string> kvp, string expectedKey, str

Assert.Collection(response.Capabilities.OrderBy(p => p.Key),
c => AssertKeyAndValue(c, "HandlesInvocationCancelMessage", bool.TrueString),
c => AssertKeyAndValue(c, "IncludeEmptyEntriesInMessagePayload", bool.TrueString),
c => AssertKeyAndValue(c, "RawHttpBodyBytes", bool.TrueString),
c => AssertKeyAndValue(c, "RpcHttpBodyOnly", bool.TrueString),
c => AssertKeyAndValue(c, "RpcHttpTriggerMetadataRemoved", bool.TrueString),
Expand Down Expand Up @@ -304,7 +305,7 @@ void ProcessMessage(IMessageProcessor processor, string functionId = null)
});

releaseFunctionEvent.Wait(5000);

Assert.True(releaseFunctionEvent.IsSet,
"Release function was never called. " +
"This indicates the blocking function prevented execution flow.");
Expand Down

0 comments on commit 7b57069

Please sign in to comment.