Commit Graph

20 Commits

Author SHA1 Message Date
Martin Gencur 7528f768d9 Check error condition when setting default kubeconfig (#142)
* avoid segmentation fault when the user is not returned correctly
2018-10-26 09:17:32 -07:00
Matt Moore 5c809f170b Add logic to check the licenses of our common package (#135)
* Add logic to check the licenses of our common packages.

* Update test-infra.

* Fix the test-infra vendor
2018-10-25 17:37:31 -07:00
Markus Thömmes 403c2256ff Add timeKey so time is actually logged in e2e tests. (#122)
* Add timeKey so time is actually logged in e2e tests.

* Correct mistake.
2018-10-15 09:06:27 -07:00
Markus Thömmes 77041f6b66 Support 'hostname' and 'ip' when communicating with ingressgateway. (#118) 2018-10-11 19:03:26 -07:00
srinivashegde86 bb9898e8eb Move duration as an arg for WaitForDeploymentState (#113) 2018-10-10 10:04:27 -07:00
Mustafa Demirhan e9a1a3e8c2 Add timestamps to the e2e logs. (#121) 2018-10-09 14:02:26 -07:00
Christie Wilson 49f84a651e Move docs from knative/serving to knative/pkg (#102)
* Move docs from knative/serving to knative/pkg

While working on knative/build-pipeline#16
I started trying to build some integration tests, and I wanted to use
the code which had been moved to knative/pkg, but it turned out the docs
hadn't been ported with the code, so I am moving the docs relevant to
knative/pkg/test to that repo.

Removing docs from knative/serving in https://github.com/knative/serving/pull/2097.

* Fix knative/serving specific docs

Fixed copy-pasted references to `knative/serving/test` which should be
`knative/pkg/test`.

Fixed examples which were specific to `knative/serving`; in the case of
the command arg examples, removed the parts which are specific to those
e2e tests (though this would make them harder to use by copy and paste,
but since the libs are in a common repo now anyway that's probably
okay).

Tried to make the metric legend easier to read.
2018-10-02 15:20:23 -07:00
Vincent Demeester 8e471c3d74 Use `/usr/bin/env bash` instead of `/bin/bash` (#107)
Some systems may not have `/bin/bash` (NixOS for example)… Using
`/usr/bin/env bash` has the benefit of looking for whatever the
default version of the program is in your current environment.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2018-10-02 00:02:23 -07:00
Dave Protasowski 0122abd983 The test logger will now log the correct caller (#63)
Previous, since we weren't skipping, the logged caller
would be 'logging.go'
2018-09-06 14:16:14 -07:00
srinivashegde86 e7a4b0d534 Dont call flag.parse in pkg/test (#62)
* Dont call flag.parse in pkg

* Remove unused import
2018-09-06 10:06:14 -07:00
srinivashegde86 382a2bff0a Make kube_checks generic so that it can be used in serving (#58)
* Make kube_checks generic

* Use logging lib in cleanup
2018-08-31 16:01:12 -07:00
srinivashegde86 6eff182b87 Remove docker repo from e2e flags (#53) 2018-08-24 13:44:59 -07:00
Adriano Cunha 4be5c07977 Vendor the test-infra scripts (#52)
* shared scripts from test-infra live in //vendor/github.com/knative/test-infra/scripts;
* update `update-deps.sh` to keep only the scripts folder;
* all bash scripts were updated to use the vendored scripts;

Part of knative/test-infra#30.
2018-08-23 21:30:59 -07:00
srinivashegde86 8c687df30f Update WaitForEndpointState to return response (#51)
* Update WaitForEndpointState to return response

* remove extra vars
2018-08-23 13:42:59 -07:00
srinivashegde86 8f6a3be149 Update knative/pkg/test (#50) 2018-08-23 12:03:59 -07:00
srinivashegde86 f4a77d7708 Add a common test clients file (#46)
* Add the common test client

* Update vendor dirs

* Add blank lines in boiler plate doc
2018-08-20 16:10:58 -07:00
srinivashegde86 450739d6f8 Add common test logging module (#45)
* Add common test logging module

* Update references to logging lib

* Add error functions
2018-08-20 16:04:59 -07:00
srinivashegde86 8bdbf4eeb9 Add the common test e2e files (#39)
* Add the common test e2e files

* Update deps

* Add the constants and remove serving related methods
2018-08-13 11:28:56 -07:00
Scott Andrews a088fee622 Add Istio client from knative/serving (#35)
* Add Istio client from knative/serving

- Add Istio types in 'apis/istio/v1alpha3'
- Update codegen scripts
- Generate client in 'client'
- Add @tcnghia as owner for 'apis/istio'

Fixes #1

* nix linguring serving package dep

* cleanup vendor cache

* Mark /client as generated

* Fix verify-codegen script

* Run verify-codegen.sh via presubmit-tests.sh

* Remove Gatewaies -> Gateway hack

Looks like we don't need it anymore
2018-08-03 16:14:10 -07:00
Adriano Cunha 16665d8163 Initial set of files for //test (#18)
* Initial set of files for //test

Currently there are no tests, but this will enable finishing setup Prow.

* Add build and unit tests

* Update README with instruction on how to run the unit tests
2018-07-26 16:46:35 -07:00