generalDockerClusterTest: The general testthat function for testing the cluster

Description Usage Arguments Value

View source: R/testthat.R

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

1
2
3
4
5
6
7
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


DockerParallel documentation built on June 23, 2021, 5:07 p.m.