TheNeuralBit commented on pull request #11744:
URL: https://github.com/apache/beam/pull/11744#issuecomment-631661434
```
self = <apache_beam.runners.worker.sdk_worker_main_test.SdkWorkerMainTest
testMethod=test_parse_pipeline_options>
def test_parse_pipeline_options(self):
expected_options = PipelineOptions([])
expected_options.view_as(
SdkWorkerMainTest.MockOptions).m_m_option = ['beam_fn_api']
expected_options.view_as(
SdkWorkerMainTest.MockOptions).m_option = '/tmp/requirements.txt'
self.assertEqual(
expected_options.get_all_options(),
sdk_worker_main._parse_pipeline_options(
'{"options": {' + '"m_option": "/tmp/requirements.txt", ' +
> '"m_m_option":["beam_fn_api"]' + '}}').get_all_options())
E AssertionError: {'inf[2214 chars]7fd7c06bc278>, 'environment_config':
None, 'in[616 chars]None} != {'inf[2214 chars]7fd7c10a35c0>,
'environment_config': None, 'in[616 chars]None}
E Diff is 3496 characters long. Set self.maxDiff to None to see it.
apache_beam/runners/worker/sdk_worker_main_test.py:70: AssertionError
```
I haven't looked into the test any further, but it looks like a memory
address is getting pulled into the options and not matching.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]