Skip to content

Commit

Permalink
temporarily disable Quarkus tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lkingland committed Apr 28, 2023
1 parent f76cb44 commit 960a7cf
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 15 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,11 @@ test-python: ## Test Python templates
cd templates/python/http && python3 test_func.py && rm -rf __pycache__

test-quarkus: ## Test Quarkus templates
cd templates/quarkus/cloudevents && mvn test && mvn clean
cd templates/quarkus/http && mvn test && mvn clean
# Quarkus Template Tests are temporarily disabled
# see: https://github.com/knative/func/issues/1711
#
# cd templates/quarkus/cloudevents && mvn test && mvn clean
# cd templates/quarkus/http && mvn test && mvn clean

test-springboot: ## Test Spring Boot templates
cd templates/springboot/cloudevents && mvn test && mvn clean
Expand Down
14 changes: 9 additions & 5 deletions test/e2e/scenario_runtime-cloudevents_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,15 @@ var ceFuncValidatorMap = map[string]CloudEventsFuncResponsivenessValidator{
bodyData: "hello",
expects: "",
},
"quarkus": {
contentType: "application/json",
bodyData: `{"message":"hello"}`,
expects: "",
},
// Temporarily disable quarkus tests.
// see https://github.com/knative/func/issues/1711
/*
"quarkus": {
contentType: "application/json",
bodyData: `{"message":"hello"}`,
expects: "",
},
*/
"springboot": {
contentType: "text/plain",
bodyData: "hello function",
Expand Down
10 changes: 6 additions & 4 deletions test/e2e/scenario_runtime-http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ import (
)

var runtimeSupportMap = map[string][]string{
"node": {"pack", "s2i"},
"go": {"pack"},
"python": {"pack", "s2i"},
"quarkus": {"pack", "s2i"},
"node": {"pack", "s2i"},
"go": {"pack"},
"python": {"pack", "s2i"},
// Temporarily disable quarkus tests.
// see: https://github.com/knative/func/issues/1711
// "quarkus": {"pack", "s2i"},
"springboot": {"pack"},
"typescript": {"pack", "s2i"},
}
Expand Down
10 changes: 6 additions & 4 deletions test/oncluster/scenario_runtime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ import (
)

var runtimeSupportMap = map[string][]string{
"node": {"pack", "s2i"},
"go": {},
"python": {"pack", "s2i"},
"quarkus": {"pack", "s2i"},
"node": {"pack", "s2i"},
"go": {},
"python": {"pack", "s2i"},
// Temporarily disable Quarkus tests.
// see: https://github.com/knative/func/issues/1711
// "quarkus": {"pack", "s2i"},
"springboot": {"pack"},
"typescript": {"pack", "s2i"},
}
Expand Down

0 comments on commit 960a7cf

Please sign in to comment.