forked from TrueCloudLab/neoneo-go
cli: fix TestHandleLoggingParams test
Problem: ``` --- FAIL: TestHandleLoggingParams (0.02s) --- FAIL: TestHandleLoggingParams/default (0.00s) server_test.go:51: Error Trace: server_test.go:51 Error: Received unexpected error: couldn't open sink "C:\\Users\\Anna\\AppData\\Local\\Temp\\TestHandleLoggingParams226652490\\001/file.log": no sink found for scheme "c" Test: TestHandleLoggingParams/default --- FAIL: TestHandleLoggingParams/debug (0.00s) server_test.go:64: Error Trace: server_test.go:64 Error: Received unexpected error: couldn't open sink "C:\\Users\\Anna\\AppData\\Local\\Temp\\TestHandleLoggingParams226652490\\001/file.log": no sink found for scheme "c" Test: TestHandleLoggingParams/debug ``` Solution: Currently no solution is implemented, but we can use relative paths instead of absolute.
This commit is contained in:
parent
670af050ee
commit
991f1be8e6
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ func TestGetConfigFromContext(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestHandleLoggingParams(t *testing.T) {
|
||||
// This test is failing on Windows, see https://github.com/nspcc-dev/neo-go/issues/2269
|
||||
d := t.TempDir()
|
||||
testLog := path.Join(d, "file.log")
|
||||
|
||||
|
|
Loading…
Reference in a new issue