function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
adreameradreamer 

Managed-Released Package giving test coverage issues after succesful installation

Hi All,

 

We have a managed-released package (passed security review) that is showing some strange behaviour with a particular user - all other users with PE and EE have installed it and are using it fine.

 

This particular user has an EE.

 

After installing the app, he went on to use a part of the app which under the hood connects to an external server, which in turn uses the Metadata API to create a few custom fields in a custom object. The weird thing is that in his case the deployment fails with an error saying that test coverage is xx% and it needs at least 75%.

 

This is strange because:

 

- to create a managed-release package one must have test coverage above 75% which we have (over 90%)

- why a single users is experiencing this issue

- why this happens with a Metadata API call 

 

Has somebody experienced something similar ?

 

Has anything changed recentely ?

 

Btw I tried to reinstall the app in one of our testing EE orgs and cannot reproduce the issue.

 

Thank you very much in advance.

Fernando