-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magic folder integration tests #322
Magic folder integration tests #322
Conversation
try: | ||
mkdir(join(temp_dir, 'magic-alice')) | ||
except OSError: | ||
pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put this before creating the process.
Note to self: try on windows-vm to see if the appveyor failure is "real" or not. |
I've kicked appveyor to re-build that one, maybe it was something transient. |
Okay, I've addressed the comments and this is ready to go. Note that two of the tests will fail until the PR for 2814 is landed (if @warner agrees I can squash before merge if you want, perhaps after 2814 is landed so I can rebase it as well). |
looks reasonable to me, squash at will |
This introduces a py.test-based integration suite (currently just containing magic-folder end-to-end tests). Also adds a tox environment ("integration") to run them. The test setup is: - a "flogtool gather" instance - an Introducer - five Storage nodes - Alice and Bob client nodes - Alice and Bob have paired magic-folders
e05c06b
to
72f17af
Compare
Okay, I rebased to master and just squashed everything into one commit. |
This ports all the magic-folders integration-style tests (from
check_magicfolder_smoke.py
) to a proper event-runner, etc. Usespy.test
fixtures to build up the introducer, storage servers and alice + bob clients. It also runs aflog_tool
gather instance to grab all logs from all the running services and dumps them at the end of the run.