From 1edbc9f5c08daafb3e13131dfc8df656b2a02edc Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Wed, 27 Aug 2014 16:39:53 +0100 Subject: yarns: Use a more realistic simulation of a git server 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. --- yarns/splitting.yarn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'yarns/splitting.yarn') 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 -- cgit v1.2.1