You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by dh...@apache.org on 2017/01/13 07:40:38 UTC

[1/2] beam git commit: Fix test_pipeline_test That Broke PostCommit

Repository: beam
Updated Branches:
  refs/heads/python-sdk e23c3cab3 -> 8c2251305


Fix test_pipeline_test That Broke PostCommit


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/59828df7
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/59828df7
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/59828df7

Branch: refs/heads/python-sdk
Commit: 59828df761bb25d67b69cd1615500c19382ab070
Parents: e23c3ca
Author: Mark Liu <ma...@google.com>
Authored: Thu Jan 12 16:21:39 2017 -0800
Committer: Mark Liu <ma...@google.com>
Committed: Thu Jan 12 16:21:39 2017 -0800

----------------------------------------------------------------------
 sdks/python/apache_beam/test_pipeline_test.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/59828df7/sdks/python/apache_beam/test_pipeline_test.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/test_pipeline_test.py b/sdks/python/apache_beam/test_pipeline_test.py
index 526a8a2..c6bdba3 100644
--- a/sdks/python/apache_beam/test_pipeline_test.py
+++ b/sdks/python/apache_beam/test_pipeline_test.py
@@ -55,8 +55,8 @@ class TestPipelineTest(unittest.TestCase):
   def test_option_args_parsing(self):
     test_pipeline = TestPipeline(argv=self.TEST_CASE['options'])
     self.assertListEqual(
-        test_pipeline.get_full_options_as_args(),
-        self.TEST_CASE['expected_list'])
+        sorted(test_pipeline.get_full_options_as_args()),
+        sorted(self.TEST_CASE['expected_list']))
 
   def test_empty_option_args_parsing(self):
     test_pipeline = TestPipeline()
@@ -84,7 +84,7 @@ class TestPipelineTest(unittest.TestCase):
     test_pipeline = TestPipeline()
     for case in self.EXTRA_OPT_CASES:
       opt_list = test_pipeline.get_full_options_as_args(**case['options'])
-      self.assertListEqual(opt_list, case['expected'])
+      self.assertListEqual(sorted(opt_list), sorted(case['expected']))
 
   def test_append_verifier_in_extra_opt(self):
     extra_opt = {'matcher': SimpleMatcher()}


[2/2] beam git commit: This closes #1775

Posted by dh...@apache.org.
This closes #1775


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/8c225130
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/8c225130
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/8c225130

Branch: refs/heads/python-sdk
Commit: 8c225130567e06b4a2dc24f94a774bff6b0a6a05
Parents: e23c3ca 59828df
Author: Dan Halperin <dh...@google.com>
Authored: Thu Jan 12 23:40:30 2017 -0800
Committer: Dan Halperin <dh...@google.com>
Committed: Thu Jan 12 23:40:30 2017 -0800

----------------------------------------------------------------------
 sdks/python/apache_beam/test_pipeline_test.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------