Skip to content

Instantly share code, notes, and snippets.

@chetan
Created September 20, 2013 14:06
Show Gist options
  • Save chetan/6638102 to your computer and use it in GitHub Desktop.
Save chetan/6638102 to your computer and use it in GitHub Desktop.
time micron
TestCPU ->
test_get_load: (passed) 0.16567932400000002
test_num_procs: (passed) 0.305860234
test_usage_stats: (passed) 0.757518385
test_options: (passed) 2.7564220949999996
test_monitor: (passed) 2.871278224
TestDiskUsage ->
test_parse_multiline: (passed) 0.15893676399999998
test_parse_linux: (passed) 0.311331634
test_parse_mac: (passed) 0.466790169
test_parse_mac_inodes: (passed) 0.588715451
TestMonitoring ->
test_hardware_network_connection_state: (passed) 3.7963565249999998
test_hardware_cpu_cpu_usage: (passed) 4.998173619000001
test_hardware_cpu_cpu_load: (passed) 6.497777893
test_hardware_network_ping: (passed) 6.613831368
test_hardware_storage_inode_usage: (passed) 6.751879545
test_hardware_network_port_check: (passed) 6.794309236000001
test_hardware_storage_disk_usage: (passed) 6.8836864559999995
test_hardware_network_connection_count: (passed) 8.353473418
test_system_general_process_usage: (passed) 8.507341888000001
TestGetBundle ->
test_bad_json: (passed) 0.159794772
test_get_bundle: (failed) 0.12541439999999998
<NoMethodError> undefined method `fetch_file' for Bixby::Repository:Module
/var/folders/kz/d4w1xfc11bd5ymfvhftqp9vr0000gn/T/bixby-20130920-89450-dxgb8c/repo/vendor/system/provisioning/bin/get_bundle.rb:86:in `block in download_files'
/var/folders/kz/d4w1xfc11bd5ymfvhftqp9vr0000gn/T/bixby-20130920-89450-dxgb8c/repo/vendor/system/provisioning/bin/get_bundle.rb:61:in `each'
/var/folders/kz/d4w1xfc11bd5ymfvhftqp9vr0000gn/T/bixby-20130920-89450-dxgb8c/repo/vendor/system/provisioning/bin/get_bundle.rb:61:in `download_files'
/var/folders/kz/d4w1xfc11bd5ymfvhftqp9vr0000gn/T/bixby-20130920-89450-dxgb8c/repo/vendor/system/provisioning/bin/get_bundle.rb:48:in `download_bundle'
/var/folders/kz/d4w1xfc11bd5ymfvhftqp9vr0000gn/T/bixby-20130920-89450-dxgb8c/repo/vendor/system/provisioning/bin/get_bundle.rb:40:in `run'
/Users/chetan/work/bixby/repo/system/provisioning/test/test_get_bundle.rb:32:in `test_get_bundle'
Coverage report generated for Test 20130920.100552 406093, Test 20130920.100552 4424, Test 20130920.100552 566779, Test 20130920.100554 259680, Test 20130920.100554 667359, Test 20130920.100555 146145, Test 20130920.100555 485650, Test 20130920.100556 665231, Test 20130920.100556 88343, Test 20130920.100600 136581, Test 20130920.100601 367099, Test 20130920.100603 134127, Test 20130920.100603 553161, Test 20130920.100603 671882, Test 20130920.100603 771595, Test 20130920.100605 65946, Test 20130920.100605 683532, Test 20130920.100606 295483, Test 20130920.100606 683816 to /Users/chetan/work/bixby/repo/.coverage. 72 / 337 LOC (21.36%) covered.
real 0m16.731s
user 0m38.364s
sys 0m11.873s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment