Actions
Bug #10135
closedCan not build datasource test: missing dependencies
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
For now, we are not able to compile data sources plugin tests because they are using test classes defined in Rudder core. But these test classes are not packaged, and so can't be used as dependencies:
For example:
[ERROR] import com.normation.BoxSpecMatcher [ERROR] ^ [ERROR] /home/fanf/java/workspaces/rudder-project/rudder-plugin-datasources/src/test/scala/com/normation/rudder/datasources/JsonPathTest.scala:49: error: not found: type BoxSpecMatcher [ERROR] class JsonPathTest extends Specification with BoxSpecMatcher with Loggable {
We need to make a "test-jar" for Rudder, and depend on it in data sources plugin.
It may not be easy, see: http://stackoverflow.com/questions/7751860/how-do-i-include-a-dependencys-test-jar-into-a-maven-projects-deployment
Updated by François ARMAND almost 8 years ago
- Category set to 71
- How to reproduce updated (diff)
Updated by François ARMAND almost 8 years ago
- Status changed from New to In progress
Updated by François ARMAND almost 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder-plugin-datasources/pull/1
Updated by François ARMAND almost 8 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset commit:rudder-plugin-datasources|ac7808232cc906eeafe7191de09b5da782eb5c74.
Updated by Vincent MEMBRÉ almost 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.0~beta3 which was released today.
- 4.1.0~beta3: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Vincent MEMBRÉ over 6 years ago
- Project changed from Rudder to 54
- Category deleted (
71) - Target version changed from 4.1.0~beta3 to 425
- Priority set to 0
Updated by Vincent MEMBRÉ about 6 years ago
- Project changed from 54 to Datasources
- Target version deleted (
425)
Actions