Skip to content

Commit 2cbd5df

Browse files
authored
Update WebJobs SDK to 3.0.23 (#6731)
* Update WebJobs SDK to 3.0.23 * fixing flaky test
1 parent aa3d195 commit 2cbd5df

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/WebJobs.Script.WebHost/WebJobs.Script.WebHost.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<PackageReference Include="Microsoft.Azure.AppService.Proxy.Client" Version="2.0.8100001-0126c21e" />
6060
<PackageReference Include="Microsoft.Azure.Services.AppAuthentication" Version="1.0.3" />
6161
<PackageReference Include="Microsoft.Azure.Storage.File" Version="11.1.7" />
62-
<PackageReference Include="Microsoft.Azure.WebJobs" Version="3.0.23-11785" />
62+
<PackageReference Include="Microsoft.Azure.WebJobs" Version="3.0.23" />
6363
<PackageReference Include="Microsoft.Azure.WebJobs.Host.Storage" Version="4.0.1" />
6464
<PackageReference Include="Microsoft.Azure.KeyVault" Version="3.0.3" />
6565
<PackageReference Include="Microsoft.Azure.WebJobs.Logging" Version="4.0.1" />

src/WebJobs.Script/WebJobs.Script.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<PackageReference Include="Microsoft.Azure.Functions.JavaWorker" Version="1.8.0" />
4242
<PackageReference Include="Microsoft.Azure.Functions.NodeJsWorker" Version="1.2.2" />
4343
<PackageReference Include="Microsoft.Azure.Functions.PowerShellWorker" Version="2.0.554" />
44-
<PackageReference Include="Microsoft.Azure.WebJobs" Version="3.0.23-11785" />
44+
<PackageReference Include="Microsoft.Azure.WebJobs" Version="3.0.23" />
4545
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions" Version="4.0.1" />
4646
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Http" Version="3.0.8" />
4747
<PackageReference Include="Microsoft.Azure.WebJobs.Logging.ApplicationInsights" Version="3.0.22" />

test/WebJobs.Script.Tests/Extensions/ExceptionExtensionsTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ public void GetExceptionDetails_ReturnsExpectedResult()
2828

2929
Assert.Equal("System.InvalidOperationException", exceptionType);
3030
Assert.Equal("Some inner exception", exceptionMessage);
31-
Assert.Contains("System.Exception : some outer exception ---> System.InvalidOperationException : Some inner exception \r\n End of inner exception\r\n at Microsoft.Azure.WebJobs.Script.Tests.Extensions.ExceptionExtensionsTests.GetExceptionDetails_ReturnsExpectedResult()", exceptionDetails);
31+
Assert.Contains("System.Exception : some outer exception ---> System.InvalidOperationException : Some inner exception", exceptionDetails);
32+
Assert.Contains("End of inner exception", exceptionDetails);
33+
Assert.Contains("at Microsoft.Azure.WebJobs.Script.Tests.Extensions.ExceptionExtensionsTests.GetExceptionDetails_ReturnsExpectedResult()", exceptionDetails);
3234
Assert.Contains("Extensions\\ExceptionExtensionsTests.cs : 20", exceptionDetails);
3335
}
3436
}

0 commit comments

Comments
 (0)