mirror of https://github.com/knative/func.git
invoke: pack and go are known compatible (#1219)
This commit is contained in:
parent
fee8dfcb0c
commit
645990203d
|
|
@ -59,7 +59,7 @@ func TestInvoke(t *testing.T) {
|
|||
|
||||
run(t, bin, prefix, "create", "--language=go", "--template=cloudevents", cwd)
|
||||
set(t, "handle.go", TestInvokeFunctionImpl)
|
||||
run(t, bin, prefix, "deploy", "--registry", GetRegistry())
|
||||
run(t, bin, prefix, "deploy", "--builder=pack", "--registry", GetRegistry())
|
||||
infoOut := run(t, bin, prefix, "info", "--output", "plain")
|
||||
run(t, bin, prefix, "invoke", "--verbose=true", "--content-type=text/plain", "--source=func:set", "--data=TEST")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue