[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2597: Magic Folder: adapt smoke-test script to work on Windows

Tahoe-LAFS trac at tahoe-lafs.org
Mon Sep 5 22:01:16 UTC 2016


#2597: Magic Folder: adapt smoke-test script to work on Windows
-------------------------------------+-------------------------------------
     Reporter:  daira                |      Owner:  meejah
         Type:  defect               |     Status:  new
     Priority:  normal               |  Milestone:  1.12.0
    Component:  code-frontend-       |    Version:  n/a
  magic-folder                       |   Keywords:  test magic-folder
   Resolution:                       |  windows
Launchpad Bug:                       |
-------------------------------------+-------------------------------------

Comment (by meejah):

 I tried the new py.test based tests on a windows VM, and they don't
 "quite" run. The problem is the "restart Alice and Bob" piece. This is
 required by magic-folders (after the invite/join), but it's also somewhat
 "weird" that "tahoe start" on Windows does a very different thing than
 "tahoe start" on other platforms.

 Although it would break the CLI "API", I think what would be ideal is to
 introduce a "tahoe run" command that does the same thing on both platforms
 (that is, runs in the foreground) and make "tahoe start" print an error-
 message and exit on windows (i.e. "please use 'tahoe run' instead"). Then,
 the tests can use "tahoe run" and can do their own thing to re-start.
 (Note: "tahoe stop" already fails to work on windows).

 Additionally, perhaps we can remove the need to re-start the client nodes
 when a magic-folder is added?

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


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