[JBoss JIRA] Created: (TEIIDDES-802) Tests Using PowerMock Fail When Running Tycho Build
by Dan Florian (JIRA)
Tests Using PowerMock Fail When Running Tycho Build
---------------------------------------------------
Key: TEIIDDES-802
URL: https://issues.jboss.org/browse/TEIIDDES-802
Project: Teiid Designer
Issue Type: Task
Components: Build
Affects Versions: 7.1
Reporter: Dan Florian
Fix For: Future
The tests in the projects that use PowerMock are not being run during the nightly build. The following projects use PowerMock:
1. org.teiid.designer.core.test
2. org.teiid.designer.ddl.importer.test
3. org.teiid.designer.dqp.test
4. org.teiid.designer.vdb.test
Once the problem is fixed, references to these projects need to be uncommented in the tests/pom.xml and in org.teiid.designer.tests.feature/feature.xml so that their tests will be run in the nightly build.
I've investigated using the PowerMockRule instead of @RunWith( PowerMockRunner.class ) in the test. In the pom.xml, I've tried adding dependencies to PowerMock and also dependencies to the maven-osgi-test-plugin to PowerMock. Didn't have any luck with anything I've tried so far.
In the root directory of one of the above projects execute the following command to run a local build and run tests of that one project:
mvn3 clean install -B -fae -e -P helios-remote-target -X
Here are some example pom.xml code that I have tried:
<build>
<plugin>
<groupId>org.sonatype.tycho</groupId>
<artifactId>maven-osgi-test-plugin</artifactId>
<version>${tychoVersion}</version>
<dependencies>
<dependency>
<groupId>org.jboss.tools</groupId>
<artifactId>org.powermock.osgi</artifactId>
<version>1.4.7</version>
</dependency>
</dependencies>
</plugin>
</build>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] Created: (TEIIDDES-803) Fix Ignored Tests So That They Will Be Run
by Dan Florian (JIRA)
Fix Ignored Tests So That They Will Be Run
------------------------------------------
Key: TEIIDDES-803
URL: https://issues.jboss.org/browse/TEIIDDES-803
Project: Teiid Designer
Issue Type: Task
Components: Build
Affects Versions: 7.2
Reporter: Dan Florian
Fix For: Future
These tests are intentionally not being run by the build and need to be fixed:
1. org.teiid.designer.core.test/TestModelEditor: has renamed tests so that those tests will not be run
2. org.teiid.designer.dqp.test/ServerTest: this test class has been commented out in pom.xml
3. org.teiid.designer.query.ui.test/TestDisplayNodeFactory: has renamed tests so that those tests will not be run
4. org.teiid.designer.transformation.test/TestPerformanceIndexFilePerRecordType: (a) has renamed tests so that those tests won't run, and (b) its helpCreateIndexFile() method is swallowing failed assertions and shouldn't
5. a search of // TODO comments should be done to find other ignored tests
For tests in projects that use PowerMock, TEIIDDES-802 will need to be fixed first.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (TEIIDDES-1309) Create Function model migration utility
by Barry LaFond (JIRA)
Barry LaFond created TEIIDDES-1309:
--------------------------------------
Summary: Create Function model migration utility
Key: TEIIDDES-1309
URL: https://issues.jboss.org/browse/TEIIDDES-1309
Project: Teiid Designer
Issue Type: Sub-task
Components: Modeling
Affects Versions: 8.0
Reporter: Barry LaFond
In 8.0, users will no longer be able to use Function models in their VDB's.
This sub-task covers the work needed to create utilities in Teiid Designer to assist users in transforming their old Function models into the new way of defining functions via simple source or view model procedures that are flagged with "function = TRUE" property.
Work should cover the different scenarios a user may run into including:
* handling legacy VDBs
* Developing best practices for migrating function models
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months