Skip to content

Conversation

@faviansamatha
Copy link
Contributor

Description

chore: add timeout to integration tests. The 600 second timeout is a timeout for a single test. If the test reaches this timeout, it will output the call stack. This is useful for debugging hanging tests.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Long exitCode = execInContainer(container, consumer,
"poetry", "run", "pytest", "-vvvvv", reportSetting, "-k", config.testFilter,
"-p", "no:logging", "--capture=tee-sys", testFolder);
"--timeout=600", "--tb=long", "--timeout-method=thread","-p", "no:logging",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ideally, timeout should be configurable in the test framework, but let's do that in another task.

Copy link
Contributor

Choose a reason for hiding this comment

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

Agreed. Should we make a ticket to track it or are you thinking of doing it soon?

Long exitCode = execInContainer(container, consumer,
"poetry", "run", "pytest", "-vvvvv", reportSetting, "-k", config.testFilter,
"-p", "no:logging", "--capture=tee-sys", testFolder);
"--timeout=600", "--tb=long", "--timeout-method=thread","-p", "no:logging",
Copy link
Contributor

Choose a reason for hiding this comment

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

Agreed. Should we make a ticket to track it or are you thinking of doing it soon?

@faviansamatha faviansamatha merged commit 4bb55cf into main Dec 19, 2025
8 checks passed
@faviansamatha faviansamatha deleted the test/add-timeout branch December 19, 2025 21:39
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.

2 participants