Project

General

Profile

« Previous | Next » 

Revision 7261

use CN session when testing getLogRecords() and getOperationStatistics() becuase they are now protecting "sensitive" information

View differences:

MNodeServiceTest.java
717 717
  public void testGetOperationStatistics() {
718 718
      printTestHeader("testGetOperationStatistics");
719 719
    try {
720
      Session session = getTestSession();
720
      Session session = getCNSession();
721 721
      SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
722 722
        Date startTime = sdf.parse("2010-01-01");
723 723
        Date endTime = new Date();
......
821 821

  
822 822
    try {
823 823
	    Log log = null;
824
	    Session session = getTestSession();
824
	    Session session = getCNSession();
825 825
	    Date fromDate = new Date();
826 826
	    Calendar calendar = Calendar.getInstance();
827 827
	    calendar.setTime(fromDate);

Also available in: Unified diff