The general testthat function for testing the cluster. The function should
be called by the cloud provider to test the functions in the provider.
if testReconnect
is TRUE
,
The provider must define reconnectDockerCluster
for making the test function work.
generalDockerClusterTest(
cloudProvider,
workerContainer,
workerNumber = 5L,
testReconnect = TRUE,
...
)
The CloudProvider
The workerContainer
Integer(1), The number of workers used in the unit test
Logical(1), whether to test the reconnect feature
Additional parameters passed to makeDockerCluster
No return value