File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -135,16 +135,10 @@ class InstanceAgentConfigTest < InstanceAgentTestCase
135135
136136 should 'load the default config file' do
137137 InstanceAgent ::Config . config [ :config_file ] = default_config_path
138-
139- expected_log_dir = if RbConfig ::CONFIG [ 'host_os' ] =~ /mswin|mingw|cygwin/
140- "Amazon/CodeDeploy/log"
141- else
142- "/var/log/aws/codedeploy-agent/"
143- end
144138
145- assert_equal ( "/tmp" , InstanceAgent ::Config . config [ :log_dir ] )
139+ assert_equal ( 30 , InstanceAgent ::Config . config [ :wait_between_runs ] )
146140 InstanceAgent ::Config . load_config
147- assert_equal ( expected_log_dir , InstanceAgent ::Config . config [ :log_dir ] )
141+ assert_equal ( 1 , InstanceAgent ::Config . config [ :wait_between_runs ] )
148142 end
149143
150144 should 'include a newline at the end of the file' do
You can’t perform that action at this time.
0 commit comments