-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed tests (as if from skupper-router RPM) do not run #267
Comments
Issues to address:
|
This could be extended to have the systemtests run the skupper-router container and therefore test the router as it is containerized. This would be awful for debugging issues, but it would more realistically test what gets deployed. This would work only for some tests, me thinks. Container would have to be run with |
Related issue, run these tests in Testing Farm / Packit |
See Dispatch issue https://issues.apache.org/jira/browse/DISPATCH-1449
There is not an obvious way how to run the tests. The usual method through
ctest
is not available.Looks like there is no way at all to run unittests, but that does not matter that much, because we want to test the installed skrouterd binary here. (So, the unittest binaries probably should not be installed and packaged into the -tests RPM; which they apparently are not, so we are good there.)
There is helper script
run_system_tests.py
. ButRun tests the following way (as root)
Many tests fail
For various reasons, oftentimes this one (which should not be too hard to fix, either provide import path, or remove usage of compat.BINARY if possible, or reimplement the function for system tests and put it into system_tests.py)
or this one
or
or
Sometimes they timeout, that's why I have the limit in the command. E.g.
system_tests_one_router.py
is one of the ones that timeout.The text was updated successfully, but these errors were encountered: