forked from apache/beam
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BEAM-8837] Fix pcoll_visualization tests
1. Added [interactive] as extras for py36 and py37 gcp tests so they will be executed at least once during the pre-commit. The [interactive] dependencies were removed after PR apache#10227 deprecating the old setup config, thus not triggering any pcoll_visualization tests since then. 2. Fixed the Setup routine of pcoll_visualization_tests so that global environment is always fresh no matter how the unit tests modify its states. The bug was caused by wrong execution paths instructed by undeterministic tests execution sequence. Somehow, the unittest's patch utility fails to patch _to_element_list some times in multi-threading. Using InteractiveRunner when building pipelines to lazily initialize a cache manager for those scenarios.
- Loading branch information
Ning Kang
committed
Dec 9, 2019
1 parent
166c6de
commit a28ee03
Showing
2 changed files
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters