[tahoe-lafs-trac-stream] [Tahoe-LAFS] #1432: Magic Folder on Mac OS X and other BSDs

Tahoe-LAFS trac at tahoe-lafs.org
Mon May 30 15:26:12 UTC 2016


#1432: Magic Folder on Mac OS X and other BSDs
-------------------------------------+-------------------------------------
     Reporter:  davidsarah           |      Owner:
         Type:  enhancement          |     Status:  new
     Priority:  normal               |  Milestone:  undecided
    Component:  code-frontend-       |    Version:  1.8.2
  magic-folder                       |   Keywords:  fsevents mac bsd magic-
   Resolution:                       |  folder
Launchpad Bug:                       |
-------------------------------------+-------------------------------------

Comment (by dawuud):

 in another dev branch i saved a commit with added debug print statements
 so i could track down the root cause of the above unit test failure:
 https://github.com/david415/tahoe-lafs/tree/1432.osx-watchdog-
 stable.3.wip.1

 what is happening is that this test case fails:
 https://github.com/david415/tahoe-
 lafs/blob/e451e2eaa410d84aa3ae0b62a5aaf5a4d4aa786b/src/allmydata/test/test_magic_folder.py#L1240

 _check_file is failing on the temporary file case; specifically here's the
 comparison that fails:

 https://github.com/david415/tahoe-
 lafs/blob/e451e2eaa410d84aa3ae0b62a5aaf5a4d4aa786b/src/allmydata/test/test_magic_folder.py#L182

 {{{
 yield
 self.failUnlessReallyEqual(self._get_count('uploader.objects_disappeared'),
                                              previously_disappeared + 1)
 }}}

 {{{
 uploader.objects_disappeared 0
 previously_disappeared + 1 == 1
 }}}

 OK so it uploads the temporary file when it shouldn't. But is that really
 so bad? Seems better than not uploading enough.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1432#comment:31>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list