package org.radargun.service;

import java.util.regex.Pattern;

public class Infinispan100ServerLifecycle extends InfinispanServerLifecycle {

   public Infinispan100ServerLifecycle(InfinispanServerService service) {
      super(service);
   }

   protected Pattern getStartOK() {
      // [SERVER] ISPN080000: Infinispan Server starting
      return Pattern.compile(".*ISPN080000.*");
   }

   protected Pattern getStartError() {
      // ISPN80028: Infinispan Server failed to start
      return Pattern.compile(".*ISPN80028.*");
   }

   protected Pattern getStopped() {
      // [SERVER] ISPN080002: Infinispan Server stopping
      return Pattern.compile(".*ISPN080002.*");
   }
}

@@ -327,19 +327,18 @@
 er start
-ing
+ed
 %0A      r
@@ -371,17 +371,17 @@
 SPN08000
-0
+1
 .*%22);%0A  
@@ -623,11 +623,10 @@
 topp
-ing
+ed
 %0A   
@@ -663,17 +663,17 @@
 SPN08000
-2
+3
 .*%22);%0A  

Fix start stop Infinispan server messages