Permalink
Browse files

removed non-portable code

  • Loading branch information...
1 parent 16cf3d3 commit e24590503230e0c978800fb98891172e5d7b3fc8 @wfrench wfrench committed Dec 7, 2012
Showing with 7 additions and 4 deletions.
  1. +7 −4 ion/agents/instrument/test/test_driver_process.py
@@ -75,7 +75,9 @@ def assert_driver_process_launch_success(self, driver_config):
driver_process.launch()
self.assertTrue(driver_process.getpid())
- log.info("Driver memory usage after init: %d", driver_process.memory_usage())
+
+ # command not portable
+ #log.info("Driver memory usage after init: %d", driver_process.memory_usage())
self.assertGreater(driver_process._command_port, 0)
self.assertGreater(driver_process._event_port, 0)
@@ -85,8 +87,9 @@ def assert_driver_process_launch_success(self, driver_config):
driver_client.start_messaging(self.event_received)
- self.assertGreater(driver_process.memory_usage(), 0)
- log.info("Driver memory usage before stop: %d", driver_process.memory_usage())
+ # command not portable
+ # self.assertGreater(driver_process.memory_usage(), 0)
+ # log.info("Driver memory usage before stop: %d", driver_process.memory_usage())
driver_process.stop()
self.assertFalse(driver_process.getpid())
@@ -174,4 +177,4 @@ def test_04_get_egg(self):
except DriverLaunchException:
got_exception = True
self.assertTrue(got_exception)
- self.assertEqual(launcher._get_egg("seabird_sbe37smb_ooicore-0.0.1-py2.7.egg"), "/tmp/seabird_sbe37smb_ooicore-0.0.1-py2.7.egg")
+ self.assertEqual(launcher._get_egg("seabird_sbe37smb_ooicore-0.0.1-py2.7.egg"), "/tmp/seabird_sbe37smb_ooicore-0.0.1-py2.7.egg")

0 comments on commit e245905

Please sign in to comment.