]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
bug #1819: Add some comments to testcases
authorMukund Sivaraman <muks@isc.org>
Mon, 26 Mar 2012 06:06:00 +0000 (11:36 +0530)
committerMukund Sivaraman <muks@isc.org>
Tue, 27 Mar 2012 08:00:11 +0000 (13:30 +0530)
src/bin/bind10/tests/bind10_test.py.in

index 25521794944f5816ffc4652686219d29d3c8b5a4..fa01d11cea7eee84dfe3e8f25ff20622f2c1eddf 100644 (file)
@@ -1204,7 +1204,12 @@ class TestBossComponents(unittest.TestCase):
         bob.shutdown()
 
         self.assertTrue(bob.ccs.stopped)
+
+        # Here, killed is an array where False is added if SIGTERM
+        # should be sent, or True if SIGKILL should be sent, in order in
+        # which they're sent.
         self.assertEqual([False, True], killed)
+
         self.assertTrue(self.__called)
 
         bob._component_configurator.shutdown = orig
@@ -1247,7 +1252,12 @@ class TestBossComponents(unittest.TestCase):
         bob.shutdown()
 
         self.assertTrue(bob.ccs.stopped)
+
+        # Here, killed is an array where False is added if SIGTERM
+        # should be sent, or True if SIGKILL should be sent, in order in
+        # which they're sent.
         self.assertEqual([], killed)
+
         self.assertTrue(self.__called)
 
         bob._component_configurator.shutdown = orig