[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
11 years, 11 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
11 years, 11 months
[JBoss JIRA] Created: (TEIIDDES-247) Salesforce Connector returns a blank error message box when running the getupdated procedure
by Debbie Steigner (JIRA)
Salesforce Connector returns a blank error message box when running the getupdated procedure
--------------------------------------------------------------------------------------------
Key: TEIIDDES-247
URL: https://jira.jboss.org/jira/browse/TEIIDDES-247
Project: Teiid Designer
Issue Type: Bug
Reporter: Debbie Steigner
Fix For: Future
If you execute the Salesforce getupdated procedure with a date range that returns an empty result set, instead of an empty result set you get an empty error message window and the following error in the log :
!STACK 1
ConnectorException: Status ERROR: com.metamatrix.core code=0 null
at com.metamatrix.connector.salesforce.connection.SalesforceConnection.getUpdated(SalesforceConnection.java:737)
at com.metamatrix.connector.salesforce.execution.GetUpdatedExecutionImpl.execute(GetUpdatedExecutionImpl.java:65)
at com.metamatrix.connector.salesforce.execution.ProcedureExecutionParentImpl.execute(ProcedureExecutionParentImpl.java:86)
at com.metamatrix.dqp.internal.datamgr.impl.ConnectorWorker.processNewRequest(ConnectorWorker.java:300)
at com.metamatrix.dqp.internal.datamgr.impl.ConnectorWorker.processBatchRequest(ConnectorWorker.java:165)
at com.metamatrix.dqp.internal.datamgr.impl.ConnectorWorker.process(ConnectorWorker.java:139)
at com.metamatrix.common.queue.QueueWorker.run(QueueWorker.java:64)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month