Родитель
3d4fbebd2c
Коммит
20ed4409ab
|
@ -446,7 +446,12 @@ namespace AspNetCoreModule.Test.Framework
|
|||
succeeded = true;
|
||||
break;
|
||||
}
|
||||
backendProcess.WaitForExit(1000);
|
||||
|
||||
if (backendProcess.WaitForExit(1000))
|
||||
{
|
||||
succeeded = true;
|
||||
break;
|
||||
}
|
||||
|
||||
if (this.IisServerType == ServerType.IISExpress && i == 3)
|
||||
{
|
||||
|
|
|
@ -426,7 +426,8 @@ namespace AspNetCoreModule.Test
|
|||
[OSSkipCondition(OperatingSystems.MacOSX)]
|
||||
[OSSkipCondition(OperatingSystems.Windows, WindowsVersions.Win7, SkipReason = "IIS does not support Websocket on Win7")]
|
||||
[InlineData(IISConfigUtility.AppPoolBitness.enable32Bit, "ab")]
|
||||
[InlineData(IISConfigUtility.AppPoolBitness.noChange, "abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789")]
|
||||
//[InlineData(IISConfigUtility.AppPoolBitness.noChange, "abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789")]
|
||||
[InlineData(IISConfigUtility.AppPoolBitness.noChange, "abcdefghijklmnopqrstuvwxyz0123456789")]
|
||||
public Task V21_WebSocketRecycledWithConfigChangeTest(IISConfigUtility.AppPoolBitness appPoolBitness, string testData)
|
||||
{
|
||||
return DoWebSocketRecycledWithConfigChangeTest(appPoolBitness, testData);
|
||||
|
|
|
@ -1854,7 +1854,7 @@ namespace AspNetCoreModule.Test
|
|||
Thread.Sleep(500);
|
||||
|
||||
VerifySendingWebSocketData(websocketClient, testData);
|
||||
Thread.Sleep(500);
|
||||
Thread.Sleep(1000);
|
||||
|
||||
using (var iisConfig = new IISConfigUtility(testSite.IisServerType, testSite.IisExpressConfigPath))
|
||||
{
|
||||
|
@ -1873,6 +1873,9 @@ namespace AspNetCoreModule.Test
|
|||
Assert.Contains("ClosingFromServer", websocketClient.Connection.DataReceived[lastIndex].TextData);
|
||||
|
||||
testSite.VerifyWorkerProcessRecycledUnderInprocessMode(recycledProcessId);
|
||||
|
||||
Thread.Sleep(500);
|
||||
await SendReceive(testSite.AspNetCoreApp.GetUri(), expectedResponseBody: "Running");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче