Azure / Azure/azure-functions-host

Fix test E2E test fixture to honor the workerRuntime environment variables

Open
#3,856 1 comment 0 reactions 1 assignee Claimed by @pragnagopa View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

[_functionsWorkerLanguage](https://github.com/Azure/azure-functions-host/blob/dev/test/WebJobs.Script.Tests.Integration/ScriptHostEndToEnd/ScriptHostEndToEndTestFixture.cs#L39) set by [ScriptHostEndToEndTestFixture.cs](https://github.com/Azure/azure-functions-host/blob/dev/test/WebJobs.Script.Tests.Integration/ScriptHostEndToEnd/ScriptHostEndToEndTestFixture.cs#L39) is not honored.

PR #3824 moved initializing rpc server and java language worker as of [common services](https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script/ScriptHostBuilderExtensions.cs#L164)

Initializing rpc server and language worker happen before the builder in the test fixture is invoked.

This causes java worker to start even though not needed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.