• Nas User
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi,
     I have a scheduled class which calls almost 15 batch jobs. I have manually invoked these batch jobs and flex queue is taking care of the 5 concurrent jobs limit. But when the scheduled class is invoked in a test class it throws an error showing that more than 5 jobs cannot be queued. Do I have to specify jobs in flex queue in test classes? I cannot find any such thing in documentation 
Hi,
     I have a scheduled class which calls almost 15 batch jobs. I have manually invoked these batch jobs and flex queue is taking care of the 5 concurrent jobs limit. But when the scheduled class is invoked in a test class it throws an error showing that more than 5 jobs cannot be queued. Do I have to specify jobs in flex queue in test classes? I cannot find any such thing in documentation