generalDockerClusterTest {DockerParallel}R Documentation

The general testthat function for testing the cluster

Description

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.

Usage

generalDockerClusterTest(
  cloudProvider,
  workerContainer,
  workerNumber = 5L,
  testReconnect = TRUE,
  ...
)

Arguments

cloudProvider

The CloudProvider

workerContainer

The workerContainer

workerNumber

Integer(1), The number of workers used in the unit test

testReconnect

Logical(1), whether to test the reconnect feature

...

Additional parameters passed to makeDockerCluster

Value

No return value


[Package DockerParallel version 1.0.4 Index]