Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17978

Add a test using remote ejb client for restarting batch job after server suspend and resume

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Batch
    • None

      In WildFly integration/basic testsuite, there already is a test for automatic batch job restart after server suspend and resume.

      We need to add another such test, which uses remote ejb client as the test client, which looks up a remote ejb that starts a batch job execution.

      During the server suspend, the above job execution will be stopped. And during server resume, that stopped job execution should automatically restart and run to completion.

      Note that these tests requires batch-jberet subsystem to be configured with

      /subsystem=batch-jberet:write-attribute(name=restart-jobs-on-resume,value=true)
      

              weli@redhat.com Weinan Li
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: