[
https://issues.apache.org/jira/browse/BEAM-5744?focusedWorklogId=165579&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-165579
]
ASF GitHub Bot logged work on BEAM-5744:
----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Nov/18 18:55
Start Date: 13/Nov/18 18:55
Worklog Time Spent: 10m
Work Description: chamikaramj closed pull request #6685: [BEAM-5744] Add
unit tests that uncover the regression observed in PR #6602.
URL: https://github.com/apache/beam/pull/6685
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/sdks/python/apache_beam/testing/util_test.py
b/sdks/python/apache_beam/testing/util_test.py
index f46063e0871..83b68e811d8 100644
--- a/sdks/python/apache_beam/testing/util_test.py
+++ b/sdks/python/apache_beam/testing/util_test.py
@@ -38,6 +38,14 @@ def test_assert_that_passes(self):
with TestPipeline() as p:
assert_that(p | Create([1, 2, 3]), equal_to([1, 2, 3]))
+ def test_assert_that_passes_order_does_not_matter(self):
+ with TestPipeline() as p:
+ assert_that(p | Create([1, 2, 3]), equal_to([2, 1, 3]))
+
+ def test_assert_that_passes_order_does_not_matter_with_negatives(self):
+ with TestPipeline() as p:
+ assert_that(p | Create([1, -2, 3]), equal_to([-2, 1, 3]))
+
def test_assert_that_passes_empty_equal_to(self):
with TestPipeline() as p:
assert_that(p | Create([]), equal_to([]))
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 165579)
Time Spent: 2h 50m (was: 2h 40m)
> Investigate negative numbers represented as 'long' in Python SDK + Direct
> runner
> --------------------------------------------------------------------------------
>
> Key: BEAM-5744
> URL: https://issues.apache.org/jira/browse/BEAM-5744
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Valentyn Tymofieiev
> Priority: Major
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)