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

Try deflaking recorder tests #12492

Merged
merged 3 commits into from
Feb 18, 2018
Merged

Try deflaking recorder tests #12492

merged 3 commits into from
Feb 18, 2018

Conversation

balloob
Copy link
Member

@balloob balloob commented Feb 18, 2018

Description:

I have run this branch 3 times on Travis and 0 failures. I think that it is due to giving some other code longer to initialize.

Related issue (if applicable): flaky tests!!

@@ -7,7 +7,7 @@

from homeassistant.core import callback
from homeassistant.const import MATCH_ALL
from homeassistant.components.recorder import Recorder
from homeassistant.components.recorder import Recorder, wait_connection_ready

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'homeassistant.components.recorder.wait_connection_ready' imported but unused

@balloob
Copy link
Member Author

balloob commented Feb 18, 2018

I've had like 6 successful runs on Py34 now (restarted a few times). I'm going to merge this and celebrate.

@balloob balloob merged commit e8d8b75 into dev Feb 18, 2018
@balloob balloob deleted the deflake-recorder-try branch February 18, 2018 07:20
@amelchio amelchio mentioned this pull request Feb 18, 2018
5 tasks
dmulcahey pushed a commit to dmulcahey/home-assistant that referenced this pull request Feb 19, 2018
* Try deflaking recorder tests

* Remove run_coroutine_threadsafe

* Lint
@balloob balloob mentioned this pull request Feb 22, 2018
@home-assistant home-assistant locked and limited conversation to collaborators May 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants