alibaba-cloud: Make the test more robust