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

Deployment issue in Batch Class

We are facing an issue while deploying Apex Trigger to production.
Please find the issue below.

Failure Message: "System.UnexpectedException: No more than one executeBatch can be called from within a testmethod. Please make sure the iterable returned from your start method matches the batch size, resulting in one executeBatch invocation.", Failure Stack Trace: "External entry point"

Please do the needful.
Would be helpful to see the trigger as well as the test class.  Without the code, very hard to tryt o help.