diff --git a/backend/src/main/java/io/metersphere/engine/kubernetes/KubernetesTestEngine.java b/backend/src/main/java/io/metersphere/engine/kubernetes/KubernetesTestEngine.java index d40840e9ba..bdd60a871e 100644 --- a/backend/src/main/java/io/metersphere/engine/kubernetes/KubernetesTestEngine.java +++ b/backend/src/main/java/io/metersphere/engine/kubernetes/KubernetesTestEngine.java @@ -63,7 +63,7 @@ public class KubernetesTestEngine extends AbstractEngine { kubernetesProvider.confirmNamespace(context.getNamespace()); // create cm try (KubernetesClient client = kubernetesProvider.getKubernetesClient()) { - String configMapName = context.getTestId() + "-files"; + String configMapName = "jmeter-" + context.getTestId() + "-files"; ConfigMap configMap = client.configMaps().inNamespace(context.getNamespace()).withName(configMapName).get(); if (configMap == null) { ConfigMap item = new ConfigMap();