fn: error image is now deprecated (#737)

Please use fn-test-utils instead for testing.
This commit is contained in:
Tolga Ceylan
2018-02-05 11:12:27 -08:00
committed by GitHub
parent 18cbf440bd
commit fdf5a67f6f
14 changed files with 13 additions and 69 deletions

View File

@@ -356,15 +356,15 @@ func TestLoggerIsStringerAndWorks(t *testing.T) {
func TestSubmitError(t *testing.T) {
appName := "myapp"
path := "/error"
image := "fnproject/error"
path := "/"
image := "fnproject/fn-test-utils"
const timeout = 10
const idleTimeout = 20
const memory = 256
CPUs := models.MilliCPUs(200)
method := "GET"
url := "http://127.0.0.1:8080/r/" + appName + path
payload := "payload"
payload := `{"sleepTime": 0, "isDebug": true, "isCrash": true}`
typ := "sync"
format := "default"
config := map[string]string{