Bug #13733
Updated by François ARMAND about 6 years ago
On a small machine, we get a timeout like:; <pre> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running com.normation.plugins.datasources.api.RestDataSourceTest error while interpreting an action org.specs2.control.UserException: cannot create an instance for class com.normation.plugins.datasources.api.RestDataSourceTest Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.184 sec - in com.normation.plugins.datasources.api.RestDataSourceTest Running com.normation.plugins.datasources.UpdateHttpDatasetTest [2018-10-25 14:13:11] ERROR datasources - Error when fetching data from data source 'test-my-datasource' (test-lot-of-nodes-GET) for all nodes <- Futures timed out after [30 seconds] [2018-10-25 14:13:11] ERROR com.normation.plugins.datasources.UpdateHttpDatasetTest - I wasn't expecting the failure: Futures timed out after [30 seconds] java.util.concurrent.TimeoutException: Futures timed out after [30 seconds] at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:255) at scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:259) .... [2018-10-25 14:13:41] ERROR datasources - Error when fetching data from data source 'test-my-datasource' (test-lot-of-nodes-POST) for all nodes <- Futures timed out after [30 seconds] [2018-10-25 14:13:41] ERROR com.normation.plugins.datasources.UpdateHttpDatasetTest - I wasn't expecting the failure: Futures timed out after [30 seconds] java.util.concurrent.TimeoutException: Futures timed out after [30 seconds] at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:255) ... </pre> Either we need to make less nodes (perhaps 100 is suffuciant), or give more time to finish.