Azure / azure-functions-host

The host/runtime that powers Azure Functions
https://functions.azure.com
MIT License
1.91k stars 436 forks source link

Fix test E2E test fixture to honor the workerRuntime environment variables #3856

Open pragnagopa opened 5 years ago

pragnagopa commented 5 years ago

_functionsWorkerLanguage set by ScriptHostEndToEndTestFixture.cs is not honored.

PR #3824 moved initializing rpc server and java language worker as of common services

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.

pragnagopa commented 5 years ago

Another issue: Invoke_Succeeds test starts RpcChannelsInitializationService but does not stop it.