Bug 1834 - check that back-to-back attaches (i.e., addObservers) work
Summary: check that back-to-back attaches (i.e., addObservers) work
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 1553
  Show dependency treegraph
 
Reported: 2005-11-09 04:16 UTC by Andrew Cagney
Modified: 2005-11-11 03:16 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2005-11-09 04:16:07 UTC
 
Comment 1 Andrew Cagney 2005-11-09 19:11:59 UTC
2005-11-09  Andrew Cagney  <cagney@redhat.com>

        * ProcState.java: Refactor .DetachingAllTasks into Detaching that
        contains .state and .AllTasks.  When attaching handle the deletion
        of an observer.
        * TaskState.java: Add transitions between attaching and detaching
        states.
        * TestTaskAttachedObserver.java: Add .testDeletedAttach,
        .testBackToBackAttachAttachMainTask, and
        .testBackToBackAttachDetachMainTask.

        * ProcState.java: Refactor .AttachingToMainTask, and
        .AttachingToOtherTasks into .Attaching class containing .state,
        .allAttached, .ToMainTask and .ToOtherTasks.
Comment 2 Andrew Cagney 2005-11-11 03:16:38 UTC
2005-11-10  Andrew Cagney  <cagney@redhat.com>

        * TestTaskAttachedObserver.java: Add .testDeletedAttachOtherTask,
        and .testBackToBackAttachDetachOtherTask.
        * ProcState.java (Detaching.state(Proc,Collection): Add.  When
        part way through an attach, only detach attached tasks.

        * TestTaskAttachedObserver.java: Add .attachDetachTask,
        .detachExitingTask, .attachDeadTask, .attachDieingTask,
        .attachToAttachedTask, .backToBackAttachAttachTask,
        .backToBackAttachDetachTask, .deletedAttachTask.  Refactor
        existing tests to use.