Actions
Bug #24996
openUpdateHttpDatasetTest datasource test get blocked forever
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No
Description
The test understand ${node.properties[datasources-injected][short-hostname]} in JSON path
never ends and get block forever.
In the console, we get an exception:
[error] zio.FiberFailure: SystemError(An error occurred,Exception in thread "zio-fiber-752" java.lang.ClassCastException: class java.lang.String cannot be cast to class net.minidev.json.JSONAware (java.lang.String is in module java.base of loader 'bootstrap'; net.minidev.json.JSONAware is in unnamed module of loader 'app') at com.normation.plugins.datasources.JsonSelect$.$anonfun$select$2(UpdateHttpDataset.scala:343) at zio.syntax.ToZio.succeed(syntax.scala:10) at com.normation.plugins.datasources.JsonSelect.select(UpdateHttpDataset.scala:341) at com.normation.plugins.datasources.JsonSelect.fromPath(UpdateHttpDataset.scala:293) ...
Actions