Skip to content

Commit

Permalink
Fixed another unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Whit Waldo <[email protected]>
  • Loading branch information
WhitWaldo committed Jan 18, 2025
1 parent e33a029 commit 096d980
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Dapr.Client.Test/StateApiTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public async Task GetBulkStateAsync_ValidateRequest()
// Create Response & Validate
var envelope = await request.GetRequestEnvelopeAsync<Autogenerated.GetBulkStateRequest>();
envelope.StoreName.ShouldBe("testStore");
envelope.Metadata.ShouldBeEquivalentTo(metadata);
envelope.Metadata.ShouldBe(metadata);
}

[Fact]
Expand Down Expand Up @@ -1408,7 +1408,7 @@ public async Task GetByteStateAndEtagAsync_ValidateRequest()
var (state, etag) = await request.CompleteWithMessageAsync((MakeGetByteStateResponse(binaryData.AsMemory())));
var stateStr = ByteString.CopyFrom(state.Span).ToByteArray();
// Get response and validate
stateStr.ShouldBeEquivalentTo(binaryData);
stateStr.ShouldBe(binaryData);

Check failure on line 1411 in test/Dapr.Client.Test/StateApiTest.cs

View workflow job for this annotation

GitHub Actions / Test .NET 9.0

Dapr.Client.Test.StateApiTest.GetByteStateAndEtagAsync_ValidateRequest: System.InvalidOperationException : The client has 1 or more incomplete requests. Use 'request.Dismiss()' if the test is uninterested in the response.

Check failure on line 1411 in test/Dapr.Client.Test/StateApiTest.cs

View workflow job for this annotation

GitHub Actions / Test .NET 8.0

Dapr.Client.Test.StateApiTest.GetByteStateAndEtagAsync_ValidateRequest: System.InvalidOperationException : The client has 1 or more incomplete requests. Use 'request.Dismiss()' if the test is uninterested in the response.

Check failure on line 1411 in test/Dapr.Client.Test/StateApiTest.cs

View workflow job for this annotation

GitHub Actions / Test .NET 7.0

Dapr.Client.Test.StateApiTest.GetByteStateAndEtagAsync_ValidateRequest: System.InvalidOperationException : The client has 1 or more incomplete requests. Use 'request.Dismiss()' if the test is uninterested in the response.

Check failure on line 1411 in test/Dapr.Client.Test/StateApiTest.cs

View workflow job for this annotation

GitHub Actions / Test .NET 6.0

Dapr.Client.Test.StateApiTest.GetByteStateAndEtagAsync_ValidateRequest: System.InvalidOperationException : The client has 1 or more incomplete requests. Use 'request.Dismiss()' if the test is uninterested in the response.
}

[Fact]
Expand Down

0 comments on commit 096d980

Please sign in to comment.