Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8110

ProcessStateListener receives first running state transition from SUSPENDED to NORMAL when start-mode=suspend

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR12
    • 7.1.0.DR10
    • Management
    • None
    • Not Required
    • Hide
      1. apply attached patch with extended tests to wf core master branch
      2. run test
        manualmode$ mvn test -Dtest=ProcessStateListenerTestCase#testListenerStartSuspended
        
      3. tests passes because it expects first transition SUSPENDED -> NORMAL (wrong, I know), but it should fail
        I don't know what should be first transition because now listener always receives first transition from SUSPENDED -> something, I'd expect STARTING -> SUSPENDED ...
      Show
      apply attached patch with extended tests to wf core master branch run test manualmode$ mvn test -Dtest=ProcessStateListenerTestCase#testListenerStartSuspended tests passes because it expects first transition SUSPENDED -> NORMAL (wrong, I know), but it should fail I don't know what should be first transition because now listener always receives first transition from SUSPENDED -> something, I'd expect STARTING -> SUSPENDED ...

      When server is started with start-mode=suspend.

      First received transition is from SUSPENDED to NORMAL. It should be something -> SUSPENDED. Probably STARTING -> SUSPENDED, but now listener always receives first transition from SUSPENDED

              ehugonne1@redhat.com Emmanuel Hugonnet
              msimka@redhat.com Martin Simka
              Martin Simka Martin Simka
              Martin Simka Martin Simka
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: