ci: Skip 3 consistently timing out tests#42
ci: Skip 3 consistently timing out tests#42derekhiggins wants to merge 1 commit intoopendatahub-io:mainfrom
Conversation
- test_text_chat_completion_structured_output - test_openai_chat_completion_non_streaming - test_inference_store These tests have been consistently timing out and are now skipped in the integration test suite.
WalkthroughThe integration test runner script updates its skip list to include three additional tests. The pytest invocation pattern remains unchanged. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
tests/run_integration_tests.sh (2)
43-58: Make skip list configurable and visible in CI logs.Allow CI to append temporary skips without editing the script and echo what’s being skipped for transparency.
@@ - # Test to skip - SKIP_TESTS="test_text_chat_completion_tool_calling_tools_not_in_request or test_inference_store_tool_calls or test_text_chat_completion_structured_output or test_openai_chat_completion_non_streaming or test_inference_store" + # Tests to skip + SKIP_TESTS="test_text_chat_completion_tool_calling_tools_not_in_request or test_inference_store_tool_calls or test_text_chat_completion_structured_output or test_openai_chat_completion_non_streaming or test_inference_store" + # Allow CI to append more skips via env (e.g., EXTRA_SKIP_TESTS='foo or bar') + if [ -n "${EXTRA_SKIP_TESTS:-}" ]; then + SKIP_TESTS="$SKIP_TESTS or $EXTRA_SKIP_TESTS" + fi + echo "Will skip via pytest -k: ($SKIP_TESTS)"
28-31: Nit: fix comment typo.“incase” → “in case”.
- # fetch origin incase we didn't clone a fresh repo + # fetch origin in case we didn't clone a fresh repo
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
tests/run_integration_tests.sh(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: build-test-push (linux/amd64)
🔇 Additional comments (1)
tests/run_integration_tests.sh (1)
44-44: Tighten -k skip matching to avoid accidental over-skip.pytest -k does substring matching on node IDs; e.g., "test_inference_store" can match unrelated nodes. Prefer full node IDs (path/to/file.py::test_name) or stricter -k expressions to avoid accidental over-skip.
File: tests/run_integration_tests.sh: line 44
SKIP_TESTS="test_text_chat_completion_tool_calling_tools_not_in_request or test_inference_store_tool_calls or test_text_chat_completion_structured_output or test_openai_chat_completion_non_streaming or test_inference_store"Verification here failed:
uvnot found. Run locally to confirm what will be skipped:SKIP_TESTS='test_text_chat_completion_tool_calling_tools_not_in_request or test_inference_store_tool_calls or test_text_chat_completion_structured_output or test_openai_chat_completion_non_streaming or test_inference_store' pytest -q tests/integration/inference/ --collect-only -k "($SKIP_TESTS)" | sed -n 's/^collected.*$//p; t; s/^<Module //p; s/^ <Function //p'
leseb
left a comment
There was a problem hiding this comment.
Let's move on until we can to the bottom of this. This is non-critical issue and the CI still offers decent coverage anyway.
|
Closing for #43 |
These tests have been consistently timing out and are now skipped in the integration test suite.
Summary by CodeRabbit