Specification
Due to time constraints not all of the tests could be made functional for the docker integration tests. The tests are disabled until we can convert them.
Due to our docker/dind setup we have limitations on what tests could work. This is mainly due to networking constraints. For a client to connect to an agent in the CI tests we require that both the client and agent run as a docker container inside the dind. Due to this we can't use any mocking or a polykeyAgent running inside the test thread.
Where we are using a 'PolykeyAgent we will need to replace it with an agent running in a docker container using a pkXSwitch function. This means any modification to the agent will be done through a bin command run with a pkXSwitch command as well. Mocking will not be possible and any test using such will have to be disabled for docker tests.
A full list of tests to convert will be provided soon.
Additional context
Related MatrixAI/Polykey#391
Related #10
Related MatrixAI/Polykey#407
Tasks
Specification
Due to time constraints not all of the tests could be made functional for the docker integration tests. The tests are disabled until we can convert them.
Due to our docker/dind setup we have limitations on what tests could work. This is mainly due to networking constraints. For a client to connect to an agent in the CI tests we require that both the client and agent run as a docker container inside the
dind. Due to this we can't use any mocking or apolykeyAgentrunning inside the test thread.Where we are using a 'PolykeyAgent
we will need to replace it with an agent running in a docker container using a pkXSwitchfunction. This means any modification to the agent will be done through a bin command run with apkXSwitchcommand as well. Mocking will not be possible and any test using such will have to be disabled for docker tests.A full list of tests to convert will be provided soon.
Additional context
Related MatrixAI/Polykey#391
Related #10
Related MatrixAI/Polykey#407
Tasks
createPolykeyAgentto spawn an agent