Skip to content

Commit

Permalink
Add a disabled spec that can be enabled to manually debug sync contai…
Browse files Browse the repository at this point in the history
…ner during a spec run
  • Loading branch information
michaelbaudino committed Jun 13, 2017
1 parent 5993282 commit 38a9ad2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/integration/native-osx_strategy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,14 @@

it_behaves_like 'a synchronized directory', '/host_sync'
it_behaves_like 'a synchronized directory', '/app_sync'

xit "is a manual debugging test" do
# Welcome to a state where you can debug DockerSync synchronization. In another terminal, you can:
# * open unison logs: docker exec docker_sync_specs-sync tail -f /tmp/unison*.log
# * monitor FS events: docker exec docker_sync_specs-sync inotifywait -m -r /host_sync/
# * go to synced host app: cd #{host_app_path}
# * get inside sync container: docker exec -it docker_sync_specs-sync bash
binding.pry
end
end
end

0 comments on commit 38a9ad2

Please sign in to comment.