Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ jobs:
- name: Install Testrun
shell: bash {0}
run: cmd/install -l
- name: Build Testrun
shell: bash {0}
run: cmd/build
timeout-minutes: 10
- name: Run tests for conn module
shell: bash {0}
run: bash testing/unit/run_test_module.sh conn captures ethtool output
Expand Down
14 changes: 14 additions & 0 deletions framework/python/src/test_orc/test_orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,20 @@ def _run_test_module(self, module):
if time.time() > test_module_timeout:
LOGGER.error("Module timeout exceeded, killing module: " + module.name)
module.stop(kill=True)

# Update the test description for the tests
for test in module.tests:

# Copy the test so we don't alter the source
test_copy = copy.deepcopy(test)

# Update test
test_copy.result = TestResult.ERROR
test_copy.description = (
"Module timeout exceeded. Try increasing the timeout value."
)
self.get_session().add_test_result(test_copy)

break

# Save all container logs to file
Expand Down