Permalink
Browse files

fix the measure memory size test since the structures turn smaller

  • Loading branch information...
1 parent ae2b75b commit 6abe4b5a209a92ad5b9ea4321b3b8511f29286ae @wandenberg committed Mar 8, 2013
Showing with 6 additions and 4 deletions.
  1. +4 −4 misc/spec/mix/measure_memory_spec.rb
  2. +2 −0 misc/spec/nginx_configuration.rb
@@ -15,10 +15,10 @@
}
end
- message_estimate_size = 174
- channel_estimate_size = 536
- subscriber_estimate_size = 200
- subscriber_estimate_system_size = 6560
+ message_estimate_size = 175
+ channel_estimate_size = 272
+ subscriber_estimate_size = 160
+ subscriber_estimate_system_size = 6530
it "should check message size" do
channel = 'ch_test_message_size'
@@ -64,6 +64,8 @@ def self.template_configuration
master_process <%= master_process %>;
daemon <%= daemon %>;
worker_processes <%= nginx_workers %>;
+worker_rlimit_core 500M;
+working_directory <%= nginx_tests_tmp_dir %>;
events {
worker_connections 1024;

0 comments on commit 6abe4b5

Please sign in to comment.