Skip to content

Fix PollingFileWatcher tests#1700

Merged
tconkling merged 4 commits intostreamlit:developfrom
tconkling:tim/FixPollingFileWatcherTests
Jul 14, 2020
Merged

Fix PollingFileWatcher tests#1700
tconkling merged 4 commits intostreamlit:developfrom
tconkling:tim/FixPollingFileWatcherTests

Conversation

@tconkling
Copy link
Copy Markdown
Contributor

PollingFileWatcher_test no longer relies on time.sleep or threads. These are now handled by mocks, so the tests should be deterministic (and faster!)

Fixes #132

@tconkling tconkling requested a review from a team as a code owner July 13, 2020 20:07
@tconkling tconkling merged commit 08662bd into streamlit:develop Jul 14, 2020
@tconkling tconkling deleted the tim/FixPollingFileWatcherTests branch July 14, 2020 16:07
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.

PollingFileWatcher_test.py is flaking

2 participants