mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-19 00:06:58 +02:00
Update client/cmd/service_test.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
47d5770922
commit
23e64a5f79
@ -74,9 +74,10 @@ func TestServiceLifecycle(t *testing.T) {
|
||||
serviceName = originalServiceName
|
||||
}()
|
||||
|
||||
configPath = "/tmp/netbird-test-config.json"
|
||||
tempDir := t.TempDir()
|
||||
configPath = fmt.Sprintf("%s/netbird-test-config.json", tempDir)
|
||||
logLevel = "info"
|
||||
daemonAddr = "unix:///tmp/netbird-test.sock"
|
||||
daemonAddr = fmt.Sprintf("unix://%s/netbird-test.sock", tempDir)
|
||||
|
||||
ctx := context.Background()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user