Skip to content

Conversation

@dylan-hurd-oai
Copy link
Collaborator

Summary

Adding an additional integration test for timeout_ms

Testing

  • these are tests

@dylan-hurd-oai dylan-hurd-oai force-pushed the dh--shell-command--timeout-tests branch from 0690aa0 to 3f6c99d Compare December 10, 2025 05:15
.replace('\r', "\n")
.trim_end_matches('\n')
.to_string();
let expected_pattern = r"(?s)^Exit code: 124\nWall time: [0-9]+(?:\.[0-9]+)? seconds\nOutput:(?:\ncommand timed out after [0-9]+ milliseconds)?\n?$";
Copy link
Collaborator

Choose a reason for hiding this comment

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

this regex is interesting. Is command timed out after message flaky?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@pakrym-oai what would you expect here, exact string match?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd expect to see command timed out after [0-9]+ milliseconds on all platforms.

@dylan-hurd-oai dylan-hurd-oai force-pushed the dh--shell-command--timeout-tests branch from 1a9c6ff to bd6d4af Compare December 13, 2025 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants