Skip to content

Commit

Permalink
Add HPA test (knative#811)
Browse files Browse the repository at this point in the history
* Add HPA test

* Longer timeout
  • Loading branch information
nak3 authored Aug 24, 2021
1 parent 30db955 commit 56995f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions openshift/e2e-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,12 @@ function run_e2e_tests(){
--resolvabledomain || failed=1
oc -n ${SYSTEM_NAMESPACE} patch knativeserving/knative-serving --type=merge --patch='{"spec": {"config": { "features": {"responsive-revision-gc": "disabled"}}}}' || fail_test

# Run HPA tests
go_test_e2e -timeout=20m -tags=hpa ./test/e2e \
--kubeconfig "$KUBECONFIG" \
--imagetemplate "$TEST_IMAGE_TEMPLATE" \
--resolvabledomain || failed=1

# Run the helloworld test with an image pulled into the internal registry.
local image_to_tag=$KNATIVE_SERVING_TEST_HELLOWORLD
oc tag -n serving-tests "$image_to_tag" "helloworld:latest" --reference-policy=local
Expand Down

0 comments on commit 56995f3

Please sign in to comment.