Make tests use local functions server not one in container

This commit is contained in:
James Jeffrey
2017-07-21 16:10:56 -07:00
parent 0ac91e6e7c
commit 9654fd4179
7 changed files with 96 additions and 58 deletions

View File

@@ -51,6 +51,7 @@ func CallAsync(t *testing.T, u url.URL, content io.Reader) string {
func TestRouteExecutions(t *testing.T) {
s := SetupDefaultSuite()
newRouteType := "async"
CreateApp(t, s.Context, s.Client, s.AppName, map[string]string{})
@@ -203,7 +204,7 @@ func TestRouteExecutions(t *testing.T) {
u.Path = path.Join(u.Path, "r", s.AppName, routePath)
callID := CallAsync(t, u, &bytes.Buffer{})
time.Sleep(7 * time.Second)
time.Sleep(15 * time.Second)
cfg := &operations.GetCallsCallLogParams{
Call: callID,