Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Travis issues about timeout and the socket problem in the Sync module #940

Merged
merged 2 commits into from Mar 24, 2020

Conversation

jixuan1989
Copy link
Member

This PR fixes two issues:

  1. As we have more and more UT/ITs, 20 minutes are not enough for tests on WinOS +Travis. So, I set the timeout time back to 40 minutes.

  2. I notice some travis failures are caused because:
    a. An IT starts an IoTDB instance;
    b. the sync module is put into a startup thread;
    c. calling setting the timeout of the socket of the module. However, the startup thread for the sync module does not turn to run...

This PR will block the startup process until the socket is opened.

@sonarcloud
Copy link

sonarcloud bot commented Mar 24, 2020

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 5 Code Smells

No Coverage information No Coverage information
4.4% 4.4% Duplication

@qiaojialin qiaojialin merged commit 8b8d4c3 into master Mar 24, 2020
@jixuan1989 jixuan1989 deleted the for_travis_stable branch July 30, 2020 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants