Skip to content

Commit ee597fc

Browse files
authored
Do not Initialize language workers at application level (#3874)
1 parent 63d0c7d commit ee597fc

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/WebJobs.Script/Rpc/RpcInitializationService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ public async Task StartAsync(CancellationToken cancellationToken)
4343
}
4444
_logger.LogInformation("Starting Rpc Initialization Service.");
4545
await InitializeRpcServerAsync();
46-
await InitializeChannelsAsync();
46+
// TODO: pgopa Uncomment following after addressing issue https://github.com/Azure/azure-functions-host/issues/3872
47+
// await InitializeChannelsAsync();
4748
}
4849

4950
public async Task StopAsync(CancellationToken cancellationToken)

test/WebJobs.Script.Tests.Integration/Rpc/LanguageWorkerChannelManagerEndToEndTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public LanguageWorkerChannelManagerEndToEndTests(TestFixture fixture)
1919

2020
public TestFixture Fixture { get; set; }
2121

22-
[Fact]
22+
[Fact(Skip = "https://github.com/Azure/azure-functions-host/issues/3872")]
2323
public void InitializeAsync_DoNotInitialize_JavaWorker_ProxiesOnly()
2424
{
2525
var javaChannel = _languageWorkerChannelManager.GetChannel(LanguageWorkerConstants.JavaLanguageWorkerName);

test/WebJobs.Script.Tests.Integration/ScriptHostEndToEnd/NodeContentTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public async Task ObjectXml()
132132
Assert.Equal(str, content);
133133
}
134134

135-
[Fact]
135+
[Fact(Skip = "https://github.com/Azure/azure-functions-host/issues/3872")]
136136
public void InitializeAsync_WorkerRuntime_Node_DoNotInitialize_JavaWorker()
137137
{
138138
var javaChannel = _languageWorkerChannelManager.GetChannel(LanguageWorkerConstants.JavaLanguageWorkerName);

0 commit comments

Comments
 (0)