Skip to content

fix: stabilize generated Cisco IOS hostnames - #3417

Merged
sbylica-splunk merged 3 commits into
developfrom
fix/codex_cisco-ios-test-hostname
Nov 27, 2026
Merged

sbylica-splunk merged 3 commits into
developfrom
fix/codex_cisco-ios-test-hostname

Conversation

@sbylica-splunk

@sbylica-splunk sbylica-splunk commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Fix for flaky tests related to cisco parsers filtering out some random hostnames

@sbylica-splunk
sbylica-splunk marked this pull request as ready for review November 25, 2026 12:12
Comment thread tests/test_common.py Outdated

host = f"{shortuuid.ShortUUID().random(length=5).lower()}-{shortuuid.ShortUUID().random(length=5).lower()}"
def test_tz_guess(record_property, get_host_key, setup_splunk, setup_sc4s):
host = f"asa-{get_host_key}"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is test_common.py so I suppose that this common for all tests. Why then set the host to: asa- which is very specific product?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense! Fixed

@sbylica-splunk sbylica-splunk changed the title test: stabilize generated Cisco IOS hostnames fix: stabilize generated Cisco IOS hostnames Nov 26, 2026
@sbylica-splunk
sbylica-splunk merged commit bfa7409 into develop Nov 27, 2026
31 checks passed
@sbylica-splunk
sbylica-splunk deleted the fix/codex_cisco-ios-test-hostname branch November 27, 2026 11:51
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants