Skip to content

Commit

Permalink
browser: disable TestRemoteFilePersister on windows
Browse files Browse the repository at this point in the history
This is not used on windows currently and there is comment explaining
what the underlying problem is.
  • Loading branch information
mstoykov committed Dec 16, 2024
1 parent ef5e0a4 commit 369b99a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions js/modules/k6/browser/storage/file_persister_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"net/http/httptest"
"os"
"path/filepath"
"runtime"
"strings"
"testing"

Expand Down Expand Up @@ -82,6 +83,11 @@ func TestLocalFilePersister(t *testing.T) {

func TestRemoteFilePersister(t *testing.T) {
t.Parallel()
if runtime.GOOS == "windows" {
t.Skip("not supported on windows for now")
// actual problem is that the paths used are with reverse slash even when they get to be inside JSON
// which leads to them being parsed as escepe codes when they shouldn't
}

const (
basePath = "screenshots"
Expand Down

0 comments on commit 369b99a

Please sign in to comment.