From f8028e3e53fad335d05ff8ec8492284e1b82e7dd Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 18 Nov 2022 14:48:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8DK8S=E6=89=A7=E8=A1=8C=E6=97=B6=E4=BC=A0?= =?UTF-8?q?=E5=85=A5=E4=B8=8D=E7=AC=A6=E5=90=88=E8=A7=84=E8=8C=83=E7=9A=84?= =?UTF-8?q?yaml=E4=B8=8D=E8=83=BD=E6=AD=A3=E5=B8=B8=E7=BB=93=E6=9D=9F?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1019727 --user=刘瑞斌 【性能测试】使用错误的Job模板执行性能测试不能进入失败状态 https://www.tapd.cn/55049933/s/1298260 --- .../main/java/io/metersphere/engine/KubernetesTestEngine.java | 1 + 1 file changed, 1 insertion(+) diff --git a/performance-test/backend/src/main/java/io/metersphere/engine/KubernetesTestEngine.java b/performance-test/backend/src/main/java/io/metersphere/engine/KubernetesTestEngine.java index 2f5962c7ed..9e77110ea3 100644 --- a/performance-test/backend/src/main/java/io/metersphere/engine/KubernetesTestEngine.java +++ b/performance-test/backend/src/main/java/io/metersphere/engine/KubernetesTestEngine.java @@ -92,6 +92,7 @@ public class KubernetesTestEngine extends AbstractEngine { kubernetesProvider.deployJmeter(request, clientCredential); } catch (Exception e) { LogUtil.error(e); + MSException.throwException("kubernetes deploy jmeter error please check the yaml file"); } }