FineSessionExpirationTestCase.java (wildfly-21.0.0.Final-src) | : | FineSessionExpirationTestCase.java (wildfly-21.0.1.Final-src) | ||
---|---|---|---|---|
skipping to change at line 24 | skipping to change at line 24 | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this software; if not, write to the Free | * License along with this software; if not, write to the Free | |||
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |||
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. | |||
*/ | */ | |||
package org.jboss.as.test.clustering.cluster.web.expiration; | package org.jboss.as.test.clustering.cluster.web.expiration; | |||
import org.infinispan.transaction.TransactionMode; | ||||
import org.jboss.arquillian.container.test.api.Deployment; | import org.jboss.arquillian.container.test.api.Deployment; | |||
import org.jboss.arquillian.container.test.api.TargetsContainer; | import org.jboss.arquillian.container.test.api.TargetsContainer; | |||
import org.jboss.arquillian.junit.Arquillian; | ||||
import org.jboss.shrinkwrap.api.Archive; | import org.jboss.shrinkwrap.api.Archive; | |||
import org.jboss.shrinkwrap.api.spec.WebArchive; | import org.jboss.shrinkwrap.api.spec.WebArchive; | |||
import org.junit.runner.RunWith; | ||||
@RunWith(Arquillian.class) | ||||
public class FineSessionExpirationTestCase extends SessionExpirationTestCase { | public class FineSessionExpirationTestCase extends SessionExpirationTestCase { | |||
private static final String MODULE_NAME = FineSessionExpirationTestCase.clas s.getSimpleName(); | private static final String MODULE_NAME = FineSessionExpirationTestCase.clas s.getSimpleName(); | |||
@Deployment(name = DEPLOYMENT_1, managed = false, testable = false) | @Deployment(name = DEPLOYMENT_1, managed = false, testable = false) | |||
@TargetsContainer(NODE_1) | @TargetsContainer(NODE_1) | |||
public static Archive<?> deployment0() { | public static Archive<?> deployment0() { | |||
return getDeployment(); | return getDeployment(); | |||
} | } | |||
@Deployment(name = DEPLOYMENT_2, managed = false, testable = false) | @Deployment(name = DEPLOYMENT_2, managed = false, testable = false) | |||
@TargetsContainer(NODE_2) | @TargetsContainer(NODE_2) | |||
public static Archive<?> deployment1() { | public static Archive<?> deployment1() { | |||
return getDeployment(); | return getDeployment(); | |||
} | } | |||
static WebArchive getDeployment() { | static WebArchive getDeployment() { | |||
return getBaseDeployment(MODULE_NAME).addAsWebInfResource(SessionExpirat ionTestCase.class.getPackage(), "jboss-web-fine.xml", "jboss-web.xml"); | return getBaseDeployment(MODULE_NAME).addAsWebInfResource(SessionExpirat ionTestCase.class.getPackage(), "jboss-web-fine.xml", "jboss-web.xml"); | |||
} | } | |||
public FineSessionExpirationTestCase() { | ||||
super(TransactionMode.TRANSACTIONAL); | ||||
} | ||||
} | } | |||
End of changes. 5 change blocks. | ||||
3 lines changed or deleted | 5 lines changed or added |