Skip to content

Commit 2acc8af

Browse files
authored
Abort when init and run messages fail to process (#2887)
* Abort when init and run messages fail to process, usually on deserialization, to prevent the host from hanging * Send the message via the abort handler when we abort the run
1 parent 1050e72 commit 2acc8af

File tree

32 files changed

+379
-81
lines changed

32 files changed

+379
-81
lines changed

Localize/lcl/cs/src/vstest.console/Resources/xlf/Resources.xlf.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,6 +1447,15 @@
14471447
</Str>
14481448
<Disp Icon="Str" />
14491449
</Item>
1450+
<Item ItemId=";TestRunAbortedWithError" ItemType="0" PsrId="308" Leaf="true">
1451+
<Str Cat="Text">
1452+
<Val><![CDATA[Test Run Aborted with error {0}.]]></Val>
1453+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1454+
<Val><![CDATA[Testovací běh se přerušil s chybou {0}.]]></Val>
1455+
</Tgt>
1456+
</Str>
1457+
<Disp Icon="Str" />
1458+
</Item>
14501459
<Item ItemId=";TestRunCanceled" ItemType="0" PsrId="308" Leaf="true">
14511460
<Str Cat="Text">
14521461
<Val><![CDATA[Test Run Canceled.]]></Val>

Localize/lcl/de/src/vstest.console/Resources/xlf/Resources.xlf.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,6 +1447,15 @@
14471447
</Str>
14481448
<Disp Icon="Str" />
14491449
</Item>
1450+
<Item ItemId=";TestRunAbortedWithError" ItemType="0" PsrId="308" Leaf="true">
1451+
<Str Cat="Text">
1452+
<Val><![CDATA[Test Run Aborted with error {0}.]]></Val>
1453+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1454+
<Val><![CDATA[Der Testlauf wurde mit dem Fehler {0} abgebrochen.]]></Val>
1455+
</Tgt>
1456+
</Str>
1457+
<Disp Icon="Str" />
1458+
</Item>
14501459
<Item ItemId=";TestRunCanceled" ItemType="0" PsrId="308" Leaf="true">
14511460
<Str Cat="Text">
14521461
<Val><![CDATA[Test Run Canceled.]]></Val>

Localize/lcl/es/src/vstest.console/Resources/xlf/Resources.xlf.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,6 +1447,15 @@
14471447
</Str>
14481448
<Disp Icon="Str" />
14491449
</Item>
1450+
<Item ItemId=";TestRunAbortedWithError" ItemType="0" PsrId="308" Leaf="true">
1451+
<Str Cat="Text">
1452+
<Val><![CDATA[Test Run Aborted with error {0}.]]></Val>
1453+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1454+
<Val><![CDATA[La serie de pruebas se ha anulado con el error {0}.]]></Val>
1455+
</Tgt>
1456+
</Str>
1457+
<Disp Icon="Str" />
1458+
</Item>
14501459
<Item ItemId=";TestRunCanceled" ItemType="0" PsrId="308" Leaf="true">
14511460
<Str Cat="Text">
14521461
<Val><![CDATA[Test Run Canceled.]]></Val>

Localize/lcl/fr/src/vstest.console/Resources/xlf/Resources.xlf.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,6 +1447,15 @@
14471447
</Str>
14481448
<Disp Icon="Str" />
14491449
</Item>
1450+
<Item ItemId=";TestRunAbortedWithError" ItemType="0" PsrId="308" Leaf="true">
1451+
<Str Cat="Text">
1452+
<Val><![CDATA[Test Run Aborted with error {0}.]]></Val>
1453+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1454+
<Val><![CDATA[Désolé... Nous n’avons pas pu procéder à la série de tests, car nous avons rencontré l’erreur suivante : {0}.]]></Val>
1455+
</Tgt>
1456+
</Str>
1457+
<Disp Icon="Str" />
1458+
</Item>
14501459
<Item ItemId=";TestRunCanceled" ItemType="0" PsrId="308" Leaf="true">
14511460
<Str Cat="Text">
14521461
<Val><![CDATA[Test Run Canceled.]]></Val>

Localize/lcl/it/src/vstest.console/Resources/xlf/Resources.xlf.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,6 +1447,15 @@
14471447
</Str>
14481448
<Disp Icon="Str" />
14491449
</Item>
1450+
<Item ItemId=";TestRunAbortedWithError" ItemType="0" PsrId="308" Leaf="true">
1451+
<Str Cat="Text">
1452+
<Val><![CDATA[Test Run Aborted with error {0}.]]></Val>
1453+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1454+
<Val><![CDATA[Esecuzione dei test interrotta con errore {0}.]]></Val>
1455+
</Tgt>
1456+
</Str>
1457+
<Disp Icon="Str" />
1458+
</Item>
14501459
<Item ItemId=";TestRunCanceled" ItemType="0" PsrId="308" Leaf="true">
14511460
<Str Cat="Text">
14521461
<Val><![CDATA[Test Run Canceled.]]></Val>

Localize/lcl/ja/src/vstest.console/Resources/xlf/Resources.xlf.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,6 +1447,15 @@
14471447
</Str>
14481448
<Disp Icon="Str" />
14491449
</Item>
1450+
<Item ItemId=";TestRunAbortedWithError" ItemType="0" PsrId="308" Leaf="true">
1451+
<Str Cat="Text">
1452+
<Val><![CDATA[Test Run Aborted with error {0}.]]></Val>
1453+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1454+
<Val><![CDATA[テストの実行がエラー {0} により中止されました。]]></Val>
1455+
</Tgt>
1456+
</Str>
1457+
<Disp Icon="Str" />
1458+
</Item>
14501459
<Item ItemId=";TestRunCanceled" ItemType="0" PsrId="308" Leaf="true">
14511460
<Str Cat="Text">
14521461
<Val><![CDATA[Test Run Canceled.]]></Val>

Localize/lcl/ko/src/vstest.console/Resources/xlf/Resources.xlf.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,6 +1447,15 @@
14471447
</Str>
14481448
<Disp Icon="Str" />
14491449
</Item>
1450+
<Item ItemId=";TestRunAbortedWithError" ItemType="0" PsrId="308" Leaf="true">
1451+
<Str Cat="Text">
1452+
<Val><![CDATA[Test Run Aborted with error {0}.]]></Val>
1453+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1454+
<Val><![CDATA[테스트 실행이 {0} 오류로 인해 중단되었습니다.]]></Val>
1455+
</Tgt>
1456+
</Str>
1457+
<Disp Icon="Str" />
1458+
</Item>
14501459
<Item ItemId=";TestRunCanceled" ItemType="0" PsrId="308" Leaf="true">
14511460
<Str Cat="Text">
14521461
<Val><![CDATA[Test Run Canceled.]]></Val>

Localize/lcl/pl/src/vstest.console/Resources/xlf/Resources.xlf.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,6 +1447,15 @@
14471447
</Str>
14481448
<Disp Icon="Str" />
14491449
</Item>
1450+
<Item ItemId=";TestRunAbortedWithError" ItemType="0" PsrId="308" Leaf="true">
1451+
<Str Cat="Text">
1452+
<Val><![CDATA[Test Run Aborted with error {0}.]]></Val>
1453+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1454+
<Val><![CDATA[Przebieg testowy został przerwany z powodu błędu {0}.]]></Val>
1455+
</Tgt>
1456+
</Str>
1457+
<Disp Icon="Str" />
1458+
</Item>
14501459
<Item ItemId=";TestRunCanceled" ItemType="0" PsrId="308" Leaf="true">
14511460
<Str Cat="Text">
14521461
<Val><![CDATA[Test Run Canceled.]]></Val>

Localize/lcl/pt-BR/src/vstest.console/Resources/xlf/Resources.xlf.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,6 +1447,15 @@
14471447
</Str>
14481448
<Disp Icon="Str" />
14491449
</Item>
1450+
<Item ItemId=";TestRunAbortedWithError" ItemType="0" PsrId="308" Leaf="true">
1451+
<Str Cat="Text">
1452+
<Val><![CDATA[Test Run Aborted with error {0}.]]></Val>
1453+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1454+
<Val><![CDATA[Execução de Teste Abortada com Erro {0}.]]></Val>
1455+
</Tgt>
1456+
</Str>
1457+
<Disp Icon="Str" />
1458+
</Item>
14501459
<Item ItemId=";TestRunCanceled" ItemType="0" PsrId="308" Leaf="true">
14511460
<Str Cat="Text">
14521461
<Val><![CDATA[Test Run Canceled.]]></Val>

Localize/lcl/ru/src/vstest.console/Resources/xlf/Resources.xlf.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,6 +1456,15 @@
14561456
</Str>
14571457
<Disp Icon="Str" />
14581458
</Item>
1459+
<Item ItemId=";TestRunAbortedWithError" ItemType="0" PsrId="308" Leaf="true">
1460+
<Str Cat="Text">
1461+
<Val><![CDATA[Test Run Aborted with error {0}.]]></Val>
1462+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1463+
<Val><![CDATA[Тестовый запуск прерван с ошибкой {0}.]]></Val>
1464+
</Tgt>
1465+
</Str>
1466+
<Disp Icon="Str" />
1467+
</Item>
14591468
<Item ItemId=";TestRunFailed" ItemType="0" PsrId="308" Leaf="true">
14601469
<Str Cat="Text">
14611470
<Val><![CDATA[Test Run Failed.]]></Val>

0 commit comments

Comments
 (0)