@@ -61,7 +61,7 @@ func TestRunWithTemplateFile(t *testing.T) {
6161 ctx , cancel := context .WithTimeout (context .Background (), 10 * time .Second )
6262 defer cancel ()
6363 output , err := cmdRunWithContext (ctx , "" , args ... )
64- t .Logf (output )
64+ t .Logf ("%s" , output )
6565 require .NoError (t , err , "run failed" )
6666 // Deterministic output for template file, so we can assert line by line
6767 lines := strings .Split (output , "\n " )
@@ -110,7 +110,7 @@ func TestRunWithTemplateFile(t *testing.T) {
110110 ctx , cancel := context .WithTimeout (context .Background (), 10 * time .Second )
111111 defer cancel ()
112112 output , err := cmdRunWithContext (ctx , "" , args ... )
113- t .Logf (output )
113+ t .Logf ("%s" , output )
114114 require .NoError (t , err , "run failed" )
115115 // Deterministic output for template file, so we can assert line by line
116116 lines := strings .Split (output , "\n " )
@@ -166,7 +166,7 @@ func TestRunWithTemplateFile(t *testing.T) {
166166 ctx , cancel := context .WithTimeout (context .Background (), 10 * time .Second )
167167 defer cancel ()
168168 output , err := cmdRunWithContext (ctx , "" , args ... )
169- t .Logf (output )
169+ t .Logf ("%s" , output )
170170 require .NoError (t , err , "run failed" )
171171 // Deterministic output for template file, so we can assert line by line
172172 lines := strings .Split (output , "\n " )
@@ -216,7 +216,7 @@ func TestRunWithTemplateFile(t *testing.T) {
216216 ctx , cancel := context .WithTimeout (context .Background (), 10 * time .Second )
217217 defer cancel ()
218218 output , err := cmdRunWithContext (ctx , "" , args ... )
219- t .Logf (output )
219+ t .Logf ("%s" , output )
220220 require .NoError (t , err , "run failed" )
221221 // Deterministic output for template file, so we can assert line by line
222222 lines := strings .Split (output , "\n " )
@@ -267,7 +267,7 @@ func TestRunWithTemplateFile(t *testing.T) {
267267 ctx , cancel := context .WithTimeout (context .Background (), 10 * time .Second )
268268 defer cancel ()
269269 output , err := cmdRunWithContext (ctx , "" , args ... )
270- t .Logf (output )
270+ t .Logf ("%s" , output )
271271 require .Error (t , err , "run must fail" )
272272 // Deterministic output for template file, so we can assert line by line
273273 lines := strings .Split (output , "\n " )
@@ -315,7 +315,7 @@ func TestRunWithTemplateFile(t *testing.T) {
315315 ctx , cancel := context .WithTimeout (context .Background (), 10 * time .Second )
316316 defer cancel ()
317317 output , err := cmdRunWithContext (ctx , "" , args ... )
318- t .Logf (output )
318+ t .Logf ("%s" , output )
319319 require .NoError (t , err , "run failed" )
320320
321321 // App logs for processor app should not be printed to console and only written to file.
@@ -374,7 +374,7 @@ func TestRunTemplateFileWithoutDaprInit(t *testing.T) {
374374 ctx , cancel := context .WithTimeout (context .Background (), 10 * time .Second )
375375 defer cancel ()
376376 output , err := cmdRunWithContext (ctx , "" , args ... )
377- t .Logf (output )
377+ t .Logf ("%s" , output )
378378 require .Error (t , err , "run must fail" )
379379 assert .Contains (t , output , "Error starting Dapr and app (\" processor\" ): fork/exec" )
380380 assert .Contains (t , output , "daprd: no such file or directory" )
0 commit comments