Project

General

Profile

Bug #13733

On small hardware, datasource test timeout

Added by François ARMAND over 1 year ago. Updated 3 months ago.

Status:
Released
Priority:
N/A
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

On a small machine, we get a timeout like:;

-------------------------------------------------------
 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)
...

Either we need to make less nodes (perhaps 100 is suffuciant), or give more time to finish.

#1

Updated by François ARMAND over 1 year ago

  • Description updated (diff)
#2

Updated by François ARMAND over 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-plugins/pull/136
#3

Updated by François ARMAND over 1 year ago

  • Status changed from Pending technical review to Pending release
#4

Updated by Vincent MEMBRÉ 3 months ago

  • Status changed from Pending release to Released

Also available in: Atom PDF