Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-23377

Fix EAP integration tests - wrong cleanup

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 4.4.2.AM2
    • 4.4.2.AM2
    • integration-tests
    • None

      EAP integration tests fail because of change in RedDeer.
      The test suite is set up as follows:

      @Suite.SuiteClasses({
      		CreateEAP7Server.class, 
      		OperateEAP7Server.class,
      		DeployJSPProjectEAP7Server.class,
      		HotDeployJSPFileEAP7Server.class,
      		UndeployJSPProjectEAP7Server.class,
      		DeleteServerEAP7Server.class
      })
      

      DeployJSPProject, HotDeployJSPFile and UndeployJSPProject depend on each other - they require to start in the state where the previous test left it.
      But a change in RedDeer caused that by default each test cleans up after being run now.
      So we need to add cleanup=false in the server requirement annotation for these test classes, such as:

      @JBossServer(state=ServerReqState.RUNNING, type=ServerReqType.EAP7x, version=ServerReqVersion.EQUAL,cleanup=false)
      

              exd-mmalina Martin Malina
              exd-mmalina Martin Malina
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: