You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have same issue, integration tests fail as func start no longer works. Output seems to indicate that func start needs more information
Select a number for worker runtime:
1. dotnet (isolated worker model)
2. dotnet (in-process model)
3. node
4. python
5. powershell
6. custom
It seems that func start now requires the following as part of local.setting.json "FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated"
local.setting.json file is not available on my build server as its not checked in to source control. This value is being passed in via environment variables, but it appears func start no longer looks at environment variables
Version
Dotnet Version: 8.0.403/8.0.404
Azure Function Core Tools Version: 4.0.6594
Description
Hit below exception in Onebranch pipeline, we don't meet this error before, and reverting to version 4.0.6543 seems mitigate the issue:
[xUnit.net 00:03:02.80] Learn.VectorSearch.API.IntegrationTests.RelevanceApiTest.TestGetRelevantItemByText(category: QnA, input: "What is the best programming language", count: 0, expectedItemId: "", score: "") [FAIL]
Failed Learn.VectorSearch.API.IntegrationTests.ItemSpecApiTest.TestGetItemSpecByItemId_NotExistingItem(category: QnA, contentId: "invalidId") [1 ms]
Error Message:
System.Exception : The Functions Host Runtime did not start properly after 180 seconds.
Stack Trace:
at Microsoft.Learn.AzureFunctionsTesting.FunctionFixture
1.InitializeAsync() at Microsoft.Docs.FunctionsIntegrationTesting.DocsFunctionFixture
1.InitializeAsync()Steps to reproduce
The text was updated successfully, but these errors were encountered: