hydra/t
Graham Christensen 20df86c275 api-test.t: make it work under yath
1. Configure the in-memory Hydra instance with a null path input cache
time to avoid caching slowing the test down.
2. Use the Catalyst::Test helpers so we talk to the application and skip
needing to actually run a webserver.
3. Change path references to use a tempdir, since this is running while
other tests are also running.
4. Change the login flow to save a cookie and pass it manually. A bit
weird, but it avoids a dependency on heavier browser-mimicking
libraries.
2021-04-28 18:28:35 -04:00
..
Config statsd: add a chance to set hostname and port in hydra.conf 2021-03-08 10:03:16 -05:00
Controller Jobset: add HTTP API test 2021-04-28 10:37:06 -07:00
Helper Create a helper for dealing with nested attribute sets 2021-03-18 11:33:36 -04:00
input-types tests: move to t, allow yath test from root 2021-03-05 09:49:06 -08:00
jobs move the api-test.nix in to the jobsdir 2021-04-28 18:28:35 -04:00
lib Use system-features from the Nix conf in the default machine file 2021-04-28 11:43:04 +02:00
plugins Replace TestHTTPMockServer with python script 2021-04-03 01:07:07 +02:00
queue-runner queue runner: test notifications 2021-04-14 14:19:10 -04:00
Schema hydra-create-user: re-hash sha1 as Argon2 2021-04-16 12:32:13 -04:00
scripts hydra-init: upgrade passwords to Argon2 on startup 2021-04-16 12:32:13 -04:00
api-test.t api-test.t: make it work under yath 2021-04-28 18:28:35 -04:00
build-products.t tests: move to t, allow yath test from root 2021-03-05 09:49:06 -08:00
default-machine-file.t Use system-features from the Nix conf in the default machine file 2021-04-28 11:43:04 +02:00
evaluate-basic.t tests: move to t, allow yath test from root 2021-03-05 09:49:06 -08:00
evaluate-dependent-jobsets.t tests: move to t, allow yath test from root 2021-03-05 09:49:06 -08:00
Makefile.am test: Don't generate a Nix conf in the makefile 2021-04-28 11:41:37 +02:00
s3-backup-test.config tests: move to t, allow yath test from root 2021-03-05 09:49:06 -08:00
s3-backup-test.pl tests: move to t, allow yath test from root 2021-03-05 09:49:06 -08:00
setup-notifications-jobset.pl tests: move to t, allow yath test from root 2021-03-05 09:49:06 -08:00
test.pl tests: move to t, allow yath test from root 2021-03-05 09:49:06 -08:00