File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,10 @@ func TestHashicorpGRPCGoPlugin(t *testing.T) {
3232 buildHashicorpGoPlugin ()
3333 defer removeHashicorpGoPlugin ()
3434
35+ logFile := filepath .Join ("docs" , "logs" , "hashicorp_grpc_go.log" )
3536 plugin , err := Init ("fungo/examples/debugtalk.bin" ,
3637 WithDebugLogger (true ),
37- WithLogFile ("docs/logs/hashicorp_grpc_go.log" ),
38+ WithLogFile (logFile ),
3839 WithDisableTime (true ))
3940 if err != nil {
4041 t .Fatal (err )
@@ -48,10 +49,11 @@ func TestHashicorpRPCGoPlugin(t *testing.T) {
4849 buildHashicorpGoPlugin ()
4950 defer removeHashicorpGoPlugin ()
5051
52+ logFile := filepath .Join ("docs" , "logs" , "hashicorp_rpc_go.log" )
5153 os .Setenv (fungo .PluginTypeEnvName , "rpc" )
5254 plugin , err := Init ("fungo/examples/debugtalk.bin" ,
5355 WithDebugLogger (true ),
54- WithLogFile ("docs/logs/hashicorp_rpc_go.log" ),
56+ WithLogFile (logFile ),
5557 WithDisableTime (true ))
5658 if err != nil {
5759 t .Fatal (err )
You can’t perform that action at this time.
0 commit comments