File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ def setup
300300 assert_nil driver . instance . instance_variable_get ( :@logger )
301301 end
302302
303- test 'start raises error if OutputConfiguration returns nil for required fields ' do
303+ test 'start sets nil table_name_template and database_name when OutputConfiguration returns nil ' do
304304 output_config_mock = mock
305305 output_config_mock . stubs ( :logger ) . returns ( Logger . new ( nil ) )
306306 output_config_mock . stubs ( :table_name ) . returns ( nil )
@@ -312,7 +312,7 @@ def setup
312312 Object . const_set ( :Ingester , TestIngesterMock1 )
313313 driver = Fluent ::Test ::Driver ::Output . new ( Fluent ::Plugin ::KustoOutput ) . configure ( @conf )
314314 driver . instance . start
315- assert_nil driver . instance . instance_variable_get ( :@table_name )
315+ assert_nil driver . instance . instance_variable_get ( :@table_name_template )
316316 assert_nil driver . instance . instance_variable_get ( :@database_name )
317317 end
318318
You can’t perform that action at this time.
0 commit comments