From d80283a769d792705704bb1cbf36af3475ac45f6 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Tue, 21 Mar 2023 16:03:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=BD=E9=99=85=E5=8C=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/dto/definition/request/assertions/MsAssertions.java | 2 +- .../backend/src/main/resources/i18n/messages_en_US.properties | 3 ++- .../backend/src/main/resources/i18n/messages_zh_CN.properties | 1 + .../backend/src/main/resources/i18n/messages_zh_TW.properties | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/api-test/backend/src/main/java/io/metersphere/api/dto/definition/request/assertions/MsAssertions.java b/api-test/backend/src/main/java/io/metersphere/api/dto/definition/request/assertions/MsAssertions.java index e1d4471578..4941a65a89 100644 --- a/api-test/backend/src/main/java/io/metersphere/api/dto/definition/request/assertions/MsAssertions.java +++ b/api-test/backend/src/main/java/io/metersphere/api/dto/definition/request/assertions/MsAssertions.java @@ -204,7 +204,7 @@ public class MsAssertions extends MsTestElement { } assertion.setProperty(TestElement.TEST_CLASS, JSR223Assertion.class.getName()); assertion.setProperty(TestElement.GUI_CLASS, SaveService.aliasToClass("TestBeanGUI")); - assertion.setProperty("cacheKey", "true"); + assertion.setProperty("cacheKey", "false"); String scriptLanguage = assertionJSR223.getScriptLanguage(); if (StringUtils.equals(scriptLanguage, "nashornScript")) { scriptLanguage = "nashorn"; diff --git a/test-track/backend/src/main/resources/i18n/messages_en_US.properties b/test-track/backend/src/main/resources/i18n/messages_en_US.properties index 351c28dc12..24db32dd8f 100644 --- a/test-track/backend/src/main/resources/i18n/messages_en_US.properties +++ b/test-track/backend/src/main/resources/i18n/messages_en_US.properties @@ -229,4 +229,5 @@ test_case_review_status_underway=Underway test_case_review_status_re_review=ReReview api_status_fake_error=FakeError serial=Serial -parallel=Parallel \ No newline at end of file +parallel=Parallel +rerun_warning=The connection is abnormal, please check the environment configuration \ No newline at end of file diff --git a/test-track/backend/src/main/resources/i18n/messages_zh_CN.properties b/test-track/backend/src/main/resources/i18n/messages_zh_CN.properties index 97708b030b..d152ff8528 100644 --- a/test-track/backend/src/main/resources/i18n/messages_zh_CN.properties +++ b/test-track/backend/src/main/resources/i18n/messages_zh_CN.properties @@ -201,3 +201,4 @@ test_case_review_status_re_review=重新提审 api_status_fake_error=误报 serial=串行 parallel=并行 +rerun_warning=连接异常,请检查环境配置 diff --git a/test-track/backend/src/main/resources/i18n/messages_zh_TW.properties b/test-track/backend/src/main/resources/i18n/messages_zh_TW.properties index 770dc19216..909d29a499 100644 --- a/test-track/backend/src/main/resources/i18n/messages_zh_TW.properties +++ b/test-track/backend/src/main/resources/i18n/messages_zh_TW.properties @@ -201,3 +201,4 @@ test_case_review_status_re_review=重新提審 api_status_fake_error=誤報 serial=串行 parallel=並行 +rerun_warning=連接異常,請檢查環境配置