fix(性能测试): 修复K8S执行时传入不符合规范的yaml不能正常结束的问题
--bug=1019727 --user=刘瑞斌 【性能测试】使用错误的Job模板执行性能测试不能进入失败状态 https://www.tapd.cn/55049933/s/1298260
This commit is contained in:
parent
c499d309a5
commit
f8028e3e53
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue