Opened 11 years ago

Last modified 9 years ago

#1170 new task

IZ229: Reload configuration should be tested

Reported by: crei Owned by:
Priority: normal Milestone:
Component: testsuite Version: current
Severity: Keywords: Sun hedeby
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=229]

        Issue #:      229             Platform:     Sun           Reporter: crei (crei)
       Component:     testsuite          OS:        All
     Subcomponent:    hedeby          Version:      current          CC:    None defined
        Status:       NEW             Priority:     P3
      Resolution:                    Issue type:    TASK
                                  Target milestone: milestone 1
      Assigned to:    crei (crei)
      QA Contact:     crei
          URL:
       * Summary:     Reload configuration should be tested
   Status whiteboard:
      Attachments:

     Issue 229 blocks:
   Votes for issue 229:     Vote for this issue


   Opened: Wed Aug 6 05:22:00 -0700 2008 
------------------------


Reload configuration should be tested

------- Additional comments from rhierlmeier Wed Feb 27 09:44:49 -0700 2008 -------

executor/reload

   - set the keep files flag
   - reload executor
   - execute script in executor
   - check that files are available in spool dir
   - reset the keep files flag
   - reload executor
   - execute a script
   - check that scripts disappeared

ca/reload
   - make path to ca script invalid
   - reload ca
   - check that renew of certificate does not work
   - cleanup

rp/reload

   - "sdmadm srr" store results (r1)
   - change priority of spare_pool
   - reload rp
   - "sdmadm srr" and compare results with r1

ge_adapter/reload

   - sdmadm sslo -u store result
   - modify sslo config
   - reload ge_adapter
   - sdmadm sslo -u and compare result

   - stop GE1
   - switch cluster config of GE1 and GE2
   - reload GE2
   - start GE1
   - check that GE1 has resources of GE2
   - check thate GE2 has resource of GE1
   - check events (RESOURCE REMOVED and RESOURCE_ADDED)
     and document it


   - make an invalid execd config
   - reload GE adapter
   - assign a resource which matches this execd config
   - resource must go into ERROR state
   - correct the execd config
   - realod GE adapter
   - reset resource
   - resource must go into ASSIGNED state


   - set reconnect interval to one hour
   - reload GE adapter
   - stop qmaster
   - start qmaster
   - service must not go into running state


spare_pool/reload

   - sdmadm sslo -u store result
   - modify sslo config
   - reload spare_pool
   - sdmadm sslo -u and compare result

cs/reload
    - unsupported operation exception
    - exit code 3

reporter/reload

    - change file pattern
    - reload reporter
    - check that new file is issued

    - change the file size and number of files
    - reload reporter
    - produce a defined number of events (e.g. by moving resource)
    - check the default number files has been created

    - change the event type filter (MANAGEMENT_EVENT, CS_EVENT, RP_EVENT
      SERVICE_EVENT)
    - reload reporter
    - produce the events
    - check the only the valid events are in the history

------- Additional comments from rhierlmeier Tue Mar 4 01:04:15 -0700 2008 -------

Started

------- Additional comments from rhierlmeier Tue Jul 29 00:13:45 -0700 2008 -------

Additional test cases for reloading the ge_adapter:

The correct behavior of the keystore/username/password combination should be tested:

path to keystore is defined but password is invalid
 -> component state STOPPPED, service state UNKNOWN

invalid username/password combination
 -> component state STOPPED, service state UNKNOWN

   ------- Additional comments from marcingoldyn Mon Jan 19 03:05:16 -0700 2009 -------
test for spare pool component was done along with test for issue 566 in Hedeby
with the testsuite check in MG-2009-01-19-0

Change History (0)

Note: See TracTickets for help on using tickets.