[MKTAUT-129] Fail unit test for Salesforce integration Created: 14/Apr/21  Updated: 28/Apr/21  Resolved: 27/Apr/21

Status: Closed
Project: Marketing Automation
Component/s: None
Affects Version/s: 1.0.2
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Viet Nguyen Assignee: Oanh Thai Hoang
Resolution: Not an issue Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones MKTAUT-128 Fail checkstyle for Salesforce integr... Closed
Relates
relates to MKTAUT-128 Fail checkstyle for Salesforce integr... Closed
causality
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: Ext DAMs maintenance & partnership support
Sprint: Content Mngmt 02
Story Points: 0.5

 Description   

Steps to reproduce

  1.  Build the project at https://git.magnolia-cms.com/projects/ADDON/repos/marketing-automation/browse

.. Logs, screenshots, gifs...

Expected results

  • Build successful

.. Justify non-trivial expectations with a link to a doc or a relevant discussion.

Actual results

  • Fail unit test which prevent the module being built

Workaround

  • Skip unit test when doing Maven build `mvn [target] -DskipTests`

Development notes

  • Just missing few javadoc stuffs, we can use auto generated one for this in case these are trivial functions / variables.


 Comments   
Comment by Viet Nguyen [ 14/Apr/21 ]

Errors:
[ERROR] MarketingAutomationFormEngineTest.setUp:64->RepositoryTestCase.setUp:95->RepositoryTestCase.cleanUp:210 » IO
[ERROR] MarketingAutomationFormEngineTest.setUp:64->RepositoryTestCase.setUp:95->RepositoryTestCase.cleanUp:210 » IO
[ERROR] MarketingAutomationFormEngineTest.setUp:64->RepositoryTestCase.setUp:95->RepositoryTestCase.cleanUp:210 » IO
[ERROR] MarketingAutomationFormEngineTest.setUp:64->RepositoryTestCase.setUp:95->RepositoryTestCase.cleanUp:210 » IO
[INFO]
[ERROR] Tests run: 41, Failures: 0, Errors: 4, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Magnolia Marketing Automation (parent pom) 1.1.1:
[INFO]
[INFO] Magnolia Marketing Automation (parent pom) ......... SUCCESS [ 7.124 s]
[INFO] Magnolia Marketing automation module foundation .... SUCCESS [ 51.172 s]
[INFO] Magnolia marketing automation Marketo connector .... SUCCESS [ 34.601 s]
[INFO] Magnolia marketing automation Salesforce connector . SUCCESS [ 33.017 s]
[INFO] Marketing Automation Eloqua Connector .............. SUCCESS [ 36.019 s]
[INFO] Magnolia marketing automation UI module ............ FAILURE [ 29.633 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:13 min
[INFO] Finished at: 2021-04-13T13:30:03-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project magnolia-marketing-automation-ui: There are test failures.

Comment by Oanh Thai Hoang [ 26/Apr/21 ]

Same comment can be found in https://jira.magnolia-cms.com/browse/MKTAUT-128?focusedCommentId=259525&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-259525

Comment by Viet Nguyen [ 27/Apr/21 ]

Development notes:
In case client wanna build this enterprise module. Pls follow maven setup as https://wiki.magnolia-cms.com/display/DEV/Maven+setup#Mavensetup-DXCoreprojectsettings
This does not have license clover included so customer need to put one there.

Generated at Mon Feb 12 10:12:35 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.