11 Star 0 Fork 26

src-openEuler/libreport

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
huawei-modify-testcase-port-for-avoid-conflict-with-k8s-in-.patch 1.52 KB
Copy Edit Raw Blame History
zhangxianting authored 9个月前 . fix build error
From 90a2c95e52ca8c38cab5a28b969e93262c3642dd Mon Sep 17 00:00:00 2001
From: caixiaomeng 00662745 <caixiaomeng2@huawei.com>
Date: Tue, 28 May 2024 19:35:40 +0800
Subject: [PATCH] modify testcase port for avoid conflict with k8s in 8080
---
tests/bugzilla_plugin.at.in | 2 +-
tests/mock_bugzilla_server/mock_bugzilla_server.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/bugzilla_plugin.at.in b/tests/bugzilla_plugin.at.in
index 22f7fe2..eaf837b 100644
--- a/tests/bugzilla_plugin.at.in
+++ b/tests/bugzilla_plugin.at.in
@@ -183,7 +183,7 @@ TS_MAIN
sleep(3);
struct bugzilla_struct rhbz = { 0 };
- rhbz.b_bugzilla_url = "http://localhost:8080/";
+ rhbz.b_bugzilla_url = "http://localhost:9137/";
rhbz.b_bugzilla_xmlrpc = g_build_filename(rhbz.b_bugzilla_url, "xmlrpc.cgi", NULL);
rhbz.b_ssl_verify = FALSE;
diff --git a/tests/mock_bugzilla_server/mock_bugzilla_server.py b/tests/mock_bugzilla_server/mock_bugzilla_server.py
index 14d1582..5e84e9c 100755
--- a/tests/mock_bugzilla_server/mock_bugzilla_server.py
+++ b/tests/mock_bugzilla_server/mock_bugzilla_server.py
@@ -75,7 +75,7 @@ def populate_struct(dest: dict, src: dict, keys: List[str]):
except KeyError:
pass
-with MyXMLRPCServer(('', 8080), requestHandler=RequestHandler) as server:
+with MyXMLRPCServer(('', 9137), requestHandler=RequestHandler) as server:
class Bug:
@staticmethod
@server.register_function(name='Bug.create')
--
2.44.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/libreport.git
git@gitee.com:src-openeuler/libreport.git
src-openeuler
libreport
libreport
master

Search