André Roth
1f469e23b5
fix optional params
2024-12-11 10:40:44 +01:00
André Roth
14a343a0d7
system tests: support fitureCmds and allow dirmgr to startup
...
- fixes a race condition, where dirmgr does not seem to be ready
- imports secret key for signing if gpg2 is used
2024-10-08 15:38:42 +02:00
André Roth
26a9219f7d
swagger: add test
2024-10-01 01:32:56 +02:00
André Roth
4a0bdcbb64
improve system tests
...
- log import errors for test modules
- log output only on test failure
- improve docker system test container
- use go 1.19 in docker system tests
- download go dependencies in docker container
- system tests: color failues output
- imrpove test result output
- do not install golangci-lint in system tests
2024-07-24 21:19:47 +02:00
André Roth
fe25414b45
api: repo copy handle package not found
...
and add tests for error proper handling.
2024-07-24 21:19:47 +02:00
André Roth
440c3debdc
improve api tests and error output
...
show only relevant aptly logs if a test fails.
for async tasks, show task output, as it contains the error message.
2024-07-24 21:19:47 +02:00
Markus Muellner
f74217ed9c
implement system tests for serving api and published repos simultaneously
2023-03-22 17:22:54 +01:00
Mauro Regli
90932cdac5
Improvement: Remove Magic Numbers in Tests with Tasks
...
Replaced 2 with TASK_SUCCEEDED, 3 with TASK_FAILED.
fixes : #1158
2023-03-13 13:17:17 +01:00
Lorenzo Bolla
787cc8e3ee
Fix system tests
2022-01-27 09:30:14 +01:00
Oliver Sauder
6ab5e60833
Add task api and resource locking ability
2022-01-27 09:30:14 +01:00
Andrey Smirnov
c798db8056
Add system's requirements.txt, enforce flake8 linter
...
Fix style issues in functional tests.
2017-04-28 00:05:11 +03:00
Andrey Smirnov
9738687116
Add -no-lock to aptly api serve to excercise locking.
2016-01-24 23:02:46 +03:00
Sylvain Baubeau
d983e10d08
Add snapshots API test suite
2014-12-18 16:33:15 +01:00
Andrey Smirnov
726f12c537
Repos APIs: searching for packages, adding and deleting packages from the repo. #116
2014-11-18 00:50:59 +03:00
Andrey Smirnov
9c834f410c
API for file upload. #116
2014-10-16 00:04:50 +04:00
Andrey Smirnov
ebc223a895
System tests for API. #116
2014-10-10 18:35:39 +04:00
Andrey Smirnov
523d0d0945
Library for API system tests. #116
2014-10-10 17:43:04 +04:00