Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
added some more explicit startups
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonrichardsmith committed Aug 22, 2016
1 parent 4d9f920 commit a21f74a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ dockertest: dockerruntest
-docker rm $(TESTDB)

testapi: dockerruntest
-rm -rf /tmp/ms-demo
export PYTHONPATH=\$(PYTHONPATH):\$(PWD)/test
@python test/container.py --service=$(INSTANCE) --serviceup=customers
docker run -h openapi --name openapi-tgfuz --link user-dev -v $(PWD)/apispec/:/tmp/specs/ weaveworksdemos/openapi /tmp/specs/user.json http://user-dev:8084/ -f /tmp/specs/hooks.js

clean:
rm -rf bin
Expand Down
2 changes: 1 addition & 1 deletion test/util/Dredd.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def test_against_endpoint(self, service, service_container, api_endpoint):
'-h', 'openapi',
'--name', self.container_name,
'--link', service_container,
'-v', "{0}:{1}".format("/tmp/ms-demo/openapi/specs/{0}s/".format(service), "/tmp/specs/"),
'-v', "{0}:{1}".format("apispec/{0}/".format(service), "/tmp/specs/"),
Dredd.image,
"/tmp/specs/{0}.json".format(service),
api_endpoint,
Expand Down

0 comments on commit a21f74a

Please sign in to comment.