Comments (10)
The behavior you need can be achieved with --run-tests
. If you just want to run the e2e tests, go test
is enough. How to run the e2e tests is documented in the README.md
files (e.g., in serving), although --run-tests
is documented in the script headers only (I encourage you to move it to the README files if you think it would have solved the scenario of this issue).
from test-infra.
thanks for reply
i hit this case by ./hack/release.sh
... and actually we should have a k8s cluster to run the e2e test right ? https://github.com/knative/serving/blob/master/test/README.md#running-end-to-end-tests
you need to have a running environment that meets the e2e test environment requirements,
from test-infra.
You can use --skip-tests
to skip running the e2e tests in release.sh
. And yes, you should have a k8s cluster to run the e2e tests, as explained in the docs.
from test-infra.
yes, i can skip the test though --skip-tests
to skip all the tests (include e2e), but how about i have a k8s cluster rather then a GCP cluster, maybe there can be a choice that i can skip the step to setup/create a cluster from the GCP
from test-infra.
Looks like there's some confusion here. release.sh
doesn't create a cluster; e2e-tests.sh
does, and you can skip that using --run-tests
or using go test
directly as explained above (in both cases you still need to set up the env vars for your test to run).
from test-infra.
that's correct. e2e-tests.sh
create a cluster not release.sh
, but if i already have a cluster, can there be an option like skip-prepare-cluster
to skip creating a cluster in e2e-tests.sh
?
from test-infra.
Such option is --run-tests
.
from test-infra.
thanks adrcunha kindly explain
i check again the e2e-test.sh
code, i find the env that u said, if u mean that ~
export K8S_USER_OVERRIDE=[your k8s user]
export K8S_CLUSTER_OVERRIDE=[your k8s cluster]
export DOCKER_REPO_OVERRIDE=[your docker repo]
./e2e-test.sh --run-tests
though if there is a well-documented about how to launch a e2e test in existing k8s cluster maybe more attractive
thanks anyway
from test-infra.
Assuming you're working on knative/serving, that would be https://github.com/knative/serving/blob/master/test/README.md#running-end-to-end-tests
from test-infra.
happy to see it 😆
from test-infra.
Related Issues (20)
- s390x: run perodic e2e tests in 'short' mode HOT 1
- Notarise our binaries for Mac HOT 1
- Migrate away from CNCF for Knative, 01DDAC-7D2015-6E152D GCP Billing Account HOT 2
- Downgrade / Suspend Google Workspace accounts of contributors no longer contributing HOT 3
- Add Taylor Wagonner (LF) as a knative.dev Google Workspace SuperAdmin HOT 2
- The `tools/go-ls-tags/files.ReadLines` always reads just first line
- Image Signing Status HOT 1
- Safe-settings for peribolos investigation HOT 3
- Auto-cleanup inactive members HOT 7
- Drop infrastructure support for 1.5 jobs HOT 2
- Investigate GitHub generated release notes HOT 3
- Automate buming golang patch versions
- RabbitMQ doesn't show in the prow dropdown filter HOT 4
- Update deps jobs failing
- EasyCLA and Tide (from Slack) HOT 1
- remove old CNCF task force from community HOT 4
- Reviewers not being assigned by prow HOT 6
- Split `test-infra` repo into `tools` and `infra` repos HOT 9
- Spin down 1.7 jobs HOT 6
- Bumping dependencies should not break our tools HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from test-infra.