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 6216a84
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/DotNetWorkerTests/GrpcWorkerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ void AssertKeyAndValue(KeyValuePair<string, string> kvp, string expectedKey, str
c => AssertKeyAndValue(c, "SomeNewCapability", bool.TrueString),
c => AssertKeyAndValue(c, "TypedDataCollection", bool.TrueString),
c => AssertKeyAndValue(c, "UseNullableValueDictionaryForHttp", bool.TrueString),
c => AssertKeyAndValue(c, "WorkerStatus", bool.TrueString));
c => AssertKeyAndValue(c, "WorkerStatus", bool.TrueString),
c => AssertKeyAndValue(c, "IncludeEmptyEntriesInMessagePayload", bool.TrueString));
}

[Fact]
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 6216a84

Please sign in to comment.