spring-cloud-cli Timeout Error
Symptom
An error is reported in spring-cloud-cli-integration-tests during the compilation.
Key Process and Cause Analysis
The network is poor. Increase the value of timeout to solve the problem.
Conclusion and Solution
Modify the timeout parameter setting of SampleIntegrationTests. The test is successful when the timeout period is set to 20 minutes. If the network condition is poor, increase the timeout period.
- Open the CliTester.java file.
vim spring-cloud-cli-integration-tests/src/test/java/org/springframework/cloud/cli/CliTester.java
- Press i to enter the insert mode and modify the value of timeout in line 55:
- CentOS 7.6 or openEuler 20.03: Change 6 minutes to 20 minutes.
- CentOS 8.1: Change 6 minutes to 30 minutes.

- Press Esc, type :wq!, and press Enter to save the file and exit.
- Run the compile command again.
./mvnw clean install -Dgpg.skip=true
Parent topic: Troubleshooting