Skip to content

Commit f62f8ae

Browse files
committed
fix: only use the hash for the namespace to prevent errors caused by special characters in test case names
1 parent c7535da commit f62f8ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/beku/kuttl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def expand(
332332

333333
def determine_namespace(testcase_name: str) -> str:
334334
hash = sha256(testcase_name.encode("utf-8")).hexdigest()
335-
return f"kuttl-{testcase_name[:32]}-{hash[:10]}"
335+
return f"kuttl-{hash[:10]}"
336336

337337

338338
def _expand_kuttl_tests(test_cases, output_dir: str, kuttl_tests: str) -> None:

0 commit comments

Comments
 (0)