Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit f4186dc

Browse files
authored
Dev (#148)
* Test runtime link and assertion fixed
1 parent 105e425 commit f4186dc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Gopkg.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/resources/service/create_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ func TestDryRunDeployment(t *testing.T) {
4545

4646
output := buffer.String()
4747
assert.Contains(t, output, "\"kind\": \"Service\"")
48-
assert.Contains(t, output, "\"apiVersion\": \"serving.knative.dev/v1alpha1\"")
48+
assert.Contains(t, output, "\"apiVersion\": \"serving.knative.dev/v1\"")
4949
assert.Contains(t, output, "\"image\": \"docker.io/hello-world\"")
5050
}

pkg/resources/service/service_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func TestDeployAndDelete(t *testing.T) {
5151
Registry: "knative.registry.svc.cluster.local",
5252
Namespace: namespace,
5353
Source: "https://github.com/serverless/examples",
54-
Runtime: "https://raw.githubusercontent.com/triggermesh/runtime-build-tasks/master/aws-lambda/python37-runtime.yaml",
54+
Runtime: "https://raw.githubusercontent.com/triggermesh/knative-lambda-runtime/master/python-3.7/runtime.yaml",
5555
BuildArgs: []string{"DIRECTORY=aws-python-simple-http-endpoint", "HANDLER=handler.endpoint"},
5656
}
5757

0 commit comments

Comments
 (0)