This is an automated email from the ASF dual-hosted git repository.

altay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new d4080c5  Fix flaky Python local filesystem test (#5156)
d4080c5 is described below

commit d4080c50552a5add989940f66ad43c4f81dc7273
Author: Ben Sidhom <[email protected]>
AuthorDate: Tue Apr 17 14:24:53 2018 -0700

    Fix flaky Python local filesystem test (#5156)
    
    * Fix flaky local filesystem test
    * Add nosetests.xml to gitignore
---
 .gitignore                                         | 1 +
 sdks/python/apache_beam/io/localfilesystem_test.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 69373cb..7e3b6d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,6 +41,7 @@ sdks/python/NOTICE
 sdks/python/README.md
 sdks/python/apache_beam/portability/api/*pb2*.*
 sdks/python/apache_beam/portability/common_urns.py
+sdks/python/nosetests.xml
 
 # Ignore IntelliJ files.
 **/.idea/**/*
diff --git a/sdks/python/apache_beam/io/localfilesystem_test.py 
b/sdks/python/apache_beam/io/localfilesystem_test.py
index faa47d0..5f825ee 100644
--- a/sdks/python/apache_beam/io/localfilesystem_test.py
+++ b/sdks/python/apache_beam/io/localfilesystem_test.py
@@ -173,7 +173,7 @@ class LocalFileSystemTest(unittest.TestCase):
 
     result = self.fs.match([self.tmpdir + '/'])[0]
     files = [f.path for f in result.metadata_list]
-    self.assertEqual(files, [path1, path2])
+    self.assertItemsEqual(files, [path1, path2])
 
   def test_copy(self):
     path1 = os.path.join(self.tmpdir, 'f1')

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to