What problem does it solve?
This skill provides a comprehensive suite of tests to ensure the Alibaba Cloud Application Load Balancer (ALB) skill functions correctly, from basic authentication to complex instance and listener operations.
Core Features & Use Cases
- Script Compilation Check: Verifies that all Python scripts within the skill can be compiled without errors.
- SDK Authentication Validation: Confirms that the necessary Alibaba Cloud SDKs are importable and can be authenticated.
- Read-Only Operations: Tests
list operations for ALB instances, server groups, and ACLs to ensure they return valid (even if empty) data.
- Instance-Specific Tests: Validates detailed status retrieval, listener listing, rule inspection, and health check status for a given ALB instance.
- Use Case: Before deploying changes to the ALB skill, run this test suite to catch potential regressions in script functionality, SDK integration, or core ALB resource management.
Quick Start
Run the smoke test for the Alibaba Cloud ALB skill by executing python tests/network/slb/alicloud-network-alb-test/scripts/smoke_test_alb.py --region cn-hangzhou.