]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/testUtils/ManagedTest.java
Fix killing of the test mail reciever
[gigi.git] / tests / org / cacert / gigi / testUtils / ManagedTest.java
index 9b77f87c1e0ba64445394ce0267e67dd7fdc4252..a9e1001569763b24bb0885011e9510e3521ed509 100644 (file)
@@ -139,12 +139,12 @@ public class ManagedTest {
        @AfterClass
        public static void tearDownServer() {
                String type = testProps.getProperty("type");
+               ter.destroy();
                if (type.equals("local")) {
                        return;
                }
                gigi.destroy();
        }
-
        @After
        public void removeMails() {
                ter.reset();