fix(性能测试): 修复K8S执行时传入不符合规范的yaml不能正常结束的问题

--bug=1019727 --user=刘瑞斌 【性能测试】使用错误的Job模板执行性能测试不能进入失败状态 https://www.tapd.cn/55049933/s/1298260
This commit is contained in:
CaptainB 2022-11-18 14:48:14 +08:00 committed by 刘瑞斌
parent c499d309a5
commit f8028e3e53
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ public class KubernetesTestEngine extends AbstractEngine {
kubernetesProvider.deployJmeter(request, clientCredential); kubernetesProvider.deployJmeter(request, clientCredential);
} catch (Exception e) { } catch (Exception e) {
LogUtil.error(e); LogUtil.error(e);
MSException.throwException("kubernetes deploy jmeter error please check the yaml file");
} }
} }