Skip to content

Commit 4adc14b

Browse files
authored
Increment versions (to v1.2.2) (#202)
* Also updated schema version validation in test code
1 parent 63727fe commit 4adc14b

File tree

6 files changed

+17
-5
lines changed

6 files changed

+17
-5
lines changed

.github/workflows/build-and-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,24 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v4
22+
2223
- name: Setup .NET 6
2324
uses: actions/setup-dotnet@v3
2425
with:
2526
dotnet-version: '6.0.x'
2627
env:
2728
NUGET_AUTH_TOKEN: RequiredButNotUsed
29+
2830
- name: NuGet Restore
2931
run: dotnet restore -v n
32+
3033
- name: Build
3134
run: dotnet build
35+
3236
- name: Setup SQL Server container
3337
run: test/setup.ps1
3438
shell: pwsh
39+
3540
- name: Durable framework tests
3641
run: dotnet test --no-build --verbosity normal --filter Category!=Stress ./test/DurableTask.SqlServer.Tests/DurableTask.SqlServer.Tests.csproj
3742
- name: Functions runtime tests

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44

55
(Add new notes here)
66

7+
## v1.2.2
8+
9+
### Updates
10+
11+
* Fix for NewEvents stuck due to InvalidCastException ([#201](https://github.com/microsoft/durabletask-mssql/pull/201))
12+
* Fix Functions.Worker.Extensions.DurableTask.SqlServer to reference correct DurableTask.SqlServer.AzureFunctions package ([#202](https://github.com/microsoft/durabletask-mssql/pull/202))
13+
714
## v1.2.1
815

916
### New

src/Functions.Worker.Extensions.DurableTask.SqlServer/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
using Microsoft.Azure.Functions.Worker.Extensions.Abstractions;
55

66
// This must be updated when updating the version of the package
7-
[assembly: ExtensionInformation("Microsoft.DurableTask.SqlServer.AzureFunctions", "1.1.*", true)]
7+
[assembly: ExtensionInformation("Microsoft.DurableTask.SqlServer.AzureFunctions", "1.2.*", true)]

src/common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<PropertyGroup>
1818
<MajorVersion>1</MajorVersion>
1919
<MinorVersion>2</MinorVersion>
20-
<PatchVersion>1</PatchVersion>
20+
<PatchVersion>2</PatchVersion>
2121
<VersionPrefix>$(MajorVersion).$(MinorVersion).$(PatchVersion)</VersionPrefix>
2222
<VersionSuffix></VersionSuffix>
2323
<AssemblyVersion>$(MajorVersion).$(MinorVersion).0.0</AssemblyVersion>

test/DurableTask.SqlServer.Tests/Integration/DatabaseManagement.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ async Task ValidateDatabaseSchemaAsync(TestDatabase database, string schemaName
504504
schemaName);
505505
Assert.Equal(1, currentSchemaVersion.Major);
506506
Assert.Equal(2, currentSchemaVersion.Minor);
507-
Assert.Equal(1, currentSchemaVersion.Patch);
507+
Assert.Equal(2, currentSchemaVersion.Patch);
508508
}
509509

510510
sealed class TestDatabase : IDisposable

test/DurableTask.SqlServer.Tests/Integration/Orchestrations.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,8 @@ public async Task TraceContextFlowCorrectly()
753753
Assert.NotEqual(orchestratorSpan.SpanId, subOrchestratorSpan.SpanId); // new span ID
754754
Assert.Equal("TestTraceState (modified!)", subOrchestratorSpan.TraceStateString);
755755
Assert.True(subOrchestratorSpan.StartTimeUtc > orchestratorSpan.StartTimeUtc + delay);
756-
Assert.True(subOrchestratorSpan.Duration > delay);
757-
Assert.True(subOrchestratorSpan.Duration < delay * 2);
756+
Assert.True(subOrchestratorSpan.Duration > delay, $"Unexpected duration: {subOrchestratorSpan.Duration}");
757+
Assert.True(subOrchestratorSpan.Duration < delay * 2, $"Unexpected duration: {subOrchestratorSpan.Duration}");
758758

759759
// Validate the activity span, which should be a subset of the sub-orchestration span
760760
Activity activitySpan = exportedItems.LastOrDefault(

0 commit comments

Comments
 (0)