[
https://issues.apache.org/jira/browse/BEAM-13769?focusedWorklogId=773627&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-773627
]
ASF GitHub Bot logged work on BEAM-13769:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 23/May/22 18:01
Start Date: 23/May/22 18:01
Worklog Time Spent: 10m
Work Description: ryanthompson591 commented on code in PR #17538:
URL: https://github.com/apache/beam/pull/17538#discussion_r879738999
##########
sdks/python/apache_beam/runners/portability/stager_test.py:
##########
@@ -242,7 +242,7 @@ def test_with_main_session(self):
# (BEAM-13769): Remove the decorator once cloudpickle is default pickle
# library
- @pytest.mark.skip
+ @pytest.mark.no_xdist
Review Comment:
For context into what valentyn is ask for... do something like this:
```
try:
staging_dir = self.make_temp_dir()
options = PipelineOptions()
options.view_as(SetupOptions).save_main_session = True
# even if the save main session is on, no pickle file for main
# session is saved when pickle_library==cloudpickle.
options.view_as(SetupOptions).pickle_library = pickler.USE_CLOUDPICKLE
self.update_options(options)
self.assertEqual([],
self.stager.create_and_stage_job_resources(
options, staging_location=staging_dir)[1])
finally:
# Revert pickle library to the default library.
pickler.set_library(pickeler.DEFAULT)
Issue Time Tracking
-------------------
Worklog Id: (was: 773627)
Time Spent: 2h 50m (was: 2h 40m)
> beam_PreCommit_Python_Cron failing on test_create_uses_coder_for_pickling
> -------------------------------------------------------------------------
>
> Key: BEAM-13769
> URL: https://issues.apache.org/jira/browse/BEAM-13769
> Project: Beam
> Issue Type: Test
> Components: test-failures
> Reporter: Kiley Sok
> Priority: P2
> Labels: sickbay
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/5219/
--
This message was sent by Atlassian Jira
(v8.20.7#820007)