Skip to main content
Test method  for Scheduler Apex code  shows this exception in procution  when we are validatiing other code.

Pls anyone help how to solve in prodcution 

Is there anyway to handle in test method
4 个回答
  1. 2017年8月22日 21:04
    It is an apex test failutes  showing the  test calss name and test methed 

    System.LimitEception:too many  query rows

    Stacktrace  Class  MyClass  line 57, colum 1

     

    list<P_A__c> pbsteps=[Select id,

    RecordAt__c,

    Steps__c,

    p__C,

    P__r.player_name__c

    from P_A__c

    where RecordAt__c>=:lc[0].start_date__c and p__C in :pbpids];

     
0/9000