Skip to content

Commit

Permalink
PR: Tests cleanup - round 7 (javaee#22556)
Browse files Browse the repository at this point in the history
* Updating few apps and removed ones not needed
* Updating the certs file in app and removed unused keystores
* Disabling 4 LDAP tests since they are running with a very old version of LDAP server
* Removing obsolete hudson scripts
* Adding missing sources
  • Loading branch information
yaminikb authored Jul 25, 2018
1 parent 6ef0ea9 commit 0d2eac5
Show file tree
Hide file tree
Showing 43 changed files with 264 additions and 2,487 deletions.
75 changes: 0 additions & 75 deletions appserver/tests/appserv-tests/devtests/admin/cli/hudson.sh

This file was deleted.

Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,11 @@ public class Ejb extends MonTest {
void runTests(TestDriver driver) {
setDriver(driver);
report(true, "Hello from EJB Monitoring Tests!");
test21738();
someTests();
moreTests();
testMyEjb();
}

void test21738() {
String prepend = "21738::";
report(asadmin("enable-monitoring", "--modules", "ejb-container=HIGH"));
deploy(sfsbear);
report(wget(8080, "StatefulBeansTest/MyServlet?count=600"), "hit StatefulBeansTest");
report(asadmin("stop-domain", DOMAIN_NAME));
report(asadmin("start-domain", DOMAIN_NAME));
AsadminReturn aar = asadminWithOutput("get", "-m", "server.applications.StatefulBeansEAR.StatefulEJB\\.jar.PassivationBean.passivecount-current");
report(checkForString(aar, "600"), prepend + "Verify monitoring data for passivecount");
}

void someTests() {
report(!wget(28080, "connapp1webmod1/ConnectorServlet1?sleepTime=25"), "hit conapp1URL");
report(!wget(28081, "connapp1webmod1/ConnectorServlet1?sleepTime=25"), "hit conapp1URL");
Expand Down Expand Up @@ -142,7 +130,6 @@ private void verifyList(String name, String desiredValue) {
AsadminReturn ret = asadminWithOutput("list", "-m", name);
report(matchString(desiredValue, ret.outAndErr), "verify-list");
}
private static final File sfsbear = new File(RESOURCES_DIR, "StatefulBeansEAR.ear");
private static final File blackBoxRar = new File(RESOURCES_DIR, "blackbox-tx.rar");
private static final File conApp1 = new File(RESOURCES_DIR, "conapp1.ear");
private static final File ejbsfapp1 = new File(RESOURCES_DIR, "ejbsfapp1.ear");
Expand Down
106 changes: 0 additions & 106 deletions appserver/tests/appserv-tests/devtests/cdi/hudson.sh

This file was deleted.

118 changes: 0 additions & 118 deletions appserver/tests/appserv-tests/devtests/cluster/hudson.sh

This file was deleted.

Loading

0 comments on commit 0d2eac5

Please sign in to comment.