Commit Graph

15 Commits

Author SHA1 Message Date
Martin Gencur 1327ff3179
Configurable SpoofRequestInterval and SpoofRequestTimeout (#942) 2020-03-09 09:59:28 -07:00
Jean-Rémy Bancel 75da3911c0 Spoof at the Resolver layer, not the Request layer. (#630) 2019-09-05 07:36:05 -07:00
Jean-Rémy Bancel 5bd67436f6 Revert "Spoof at the Resolver layer, not the Request layer. (#620)" (#629)
This reverts commit 3dd5d66573.
2019-09-03 14:00:01 -07:00
Jean-Rémy Bancel 3dd5d66573 Spoof at the Resolver layer, not the Request layer. (#620) 2019-09-03 09:28:00 -07:00
Victor Agababov 74c5d67ea0 Fix the issues pointed out by staticcheck (#541)
* Fix the issues pointed out by staticcheck

* review fix
2019-07-23 13:13:36 -07:00
mattmoor-sockpuppet 1864f499dc golang format tools (#497)
Produced via:
  `gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
  `goimports -w $(find -name '*.go' | grep -v vendor)`
/assign @mattmoor
2019-06-27 07:37:08 -07:00
Matt Moore 222dd25986 Migrate pkg to use the knative.dev/pkg import path (#489)
* Manual changes.

* scripted changes.
2019-06-26 13:02:06 -07:00
Chi Zhang 28cfa16149 Do not hard code namespace when checking pod logs (#377) 2019-04-09 15:02:58 -07:00
srinivashegde86 46bd1f13c2 Add some more common test componets in pkg/test (#321) 2019-03-18 10:41:46 -07:00
srinivashegde86 2a8c1b0e5a Remove baselogger and use FormatLogger everywhere (#296)
* Remove baselogger and use FormatLogger everywhere

* Fix blank spaces in README

* Fix linting issues

* Fix comment to FormatLogger
2019-02-27 11:29:49 -08:00
Matt Moore 729d5ada5f Adapt the spoofing client to take a "FormatLogger" instead of a BaseLogger (#285)
This is a breaking change, that can be fixed up by replacing `logger,` with `logger.Infof,` in the argument lists for these functions.

This is part of a larger cleanup to allow us to use alternate log methods like `t.Logf` in place of `BaseLogger`.
2019-02-18 16:57:45 -08:00
Gregory Haynes b670fe05a9 Add static endpoint override to test/spoof (#143)
* Add static endpoint override to test/spoof

When testing locally its common to use a cluster which both does not
have resolvable dns for ksvcs and does not have public IPs. Support
overriding the endpoint for knative's ingress controller to a static
value which can be set to e.g. the knative-ingressgateway nodeport.

* Fix 2 broken links
2019-02-08 19:17:41 -08: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 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