Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
nytian committed Aug 9, 2024
1 parent db12a59 commit a92d9b6
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2318,10 +2318,9 @@ await Task.WhenAll(
/// Test queue message generated by DTFx.AzureStorage v2.x can be successfully read by DTFx.AzureStorage v1.x
/// </summary>
[TestMethod]
public async Task TestBackwardCompatibilityWithASv2()
public async Task TestBackwardCompatibilityWithASv1()
{
//string connectionString = TestHelpers.GetTestStorageAccountConnectionString();
string connectionString = "UseDevelopmentStorage=true";
string connectionString = TestHelpers.GetTestStorageAccountConnectionString();
var settings = new AzureStorageOrchestrationServiceSettings
{
PartitionCount = 1,
Expand All @@ -2346,6 +2345,8 @@ public async Task TestBackwardCompatibilityWithASv2()
// Check the message can be successfully read without any error
Assert.IsNotNull(content);
Assert.IsInstanceOfType<string>(content);
StringAssert.Contains(content, "DurableTask.Core.History.ExecutionStartedEvent");

}

#if !NET462
Expand Down

0 comments on commit a92d9b6

Please sign in to comment.