Skip to content

Commit 67d9330

Browse files
committed
change to pod_type_from_config
Signed-off-by: Zinkelburger <[email protected]>
1 parent b9127d2 commit 67d9330

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

testConfig.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def parse_test_cases(self, input_str: str) -> List[TestCaseType]:
8080

8181
return output
8282

83-
def pod_type_to_enum(self, connection_server: Dict[str, str]) -> PodType:
83+
def pod_type_from_config(self, connection_server: Dict[str, str]) -> PodType:
8484
if "sriov" in connection_server:
8585
if "true" in connection_server["sriov"].lower():
8686
return PodType.SRIOV

trafficFlowTests.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ def _run(
197197
test_case_id=test_id,
198198
node_server_name=node_server_name,
199199
node_client_name=node_client_name,
200-
server_pod_type=self._tc.pod_type_to_enum(connections["server"][0]),
201-
client_pod_type=self._tc.pod_type_to_enum(connections["client"][0]),
200+
server_pod_type=self._tc.pod_type_from_config(connections["server"][0]),
201+
client_pod_type=self._tc.pod_type_from_config(connections["client"][0]),
202202
index=index,
203203
test_type=test_type,
204204
reverse=reverse,

0 commit comments

Comments
 (0)