summaryrefslogtreecommitdiff
path: root/yarns/splitting.yarn
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2014-08-27 16:39:53 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2014-08-28 13:48:26 +0100
commit1edbc9f5c08daafb3e13131dfc8df656b2a02edc (patch)
tree5ea1ba505bb50ee616567f74551aadb2b51fa0d3 /yarns/splitting.yarn
parent8c31c741a0d4341a536c7bf612a95b136795c8a2 (diff)
downloadmorph-1edbc9f5c08daafb3e13131dfc8df656b2a02edc.tar.gz
yarns: Use a more realistic simulation of a git serverbaserock/richardmaw/yarn-git-daemon
Previously we would use file: URIs to point to the git repositories. This was fast and simple, but had the drawback that it bypassed all the git cache logic, so changes to the git cache weren't adequately covered by the test suite. Now we spool up a simulated git server per scenario, and shut it down at the end.
Diffstat (limited to 'yarns/splitting.yarn')
-rw-r--r--yarns/splitting.yarn2
1 files changed, 2 insertions, 0 deletions
diff --git a/yarns/splitting.yarn b/yarns/splitting.yarn
index d4b942d8..9248f60c 100644
--- a/yarns/splitting.yarn
+++ b/yarns/splitting.yarn
@@ -24,6 +24,7 @@ result, so much as it succeeding to build something.
WHEN the user checks out the system branch called master
THEN morph build the system systems/test-system.morph of the branch master
+ FINALLY the git server is shut down
Smaller systems
---------------
@@ -82,6 +83,7 @@ chunks that were needed.
AND system systems/test-system.morph uses test-stratum-minimal from test-stratum
WHEN the user checks out the system branch called master
THEN morph build the system systems/test-system.morph of the branch master
+ FINALLY the git server is shut down
Implementations