The regression in that bug was from V2->V3. The bug sat undetected for a year.
What that bug says is:
- If the domain is already running then 'asadmin start-domain' should return
- If the domain is NOT running then 'asadmin stop-domain' should return zero
Before the fix both of these situations returned in hard errors with non-zero
A QL test should be added – or some other frequently run automated test to
detect it if it regresses again.
I tried to add a QL test but it is very complicated to add a test in there –
(ant maven TestNG are all firing at the same time and talking to each other) not
to mention dangerous since so many developers depend on it.
For the test all you have to do is run asadmin start-domain twice in a row.
Both times a zero (success) should be returned. Exact same story for stop-domain.