Commit 0a31c32f authored by Matthew Holt's avatar Matthew Holt

browse: Clarify test skip on Windows and log a message

parent 0b4dda0a
...@@ -3,6 +3,7 @@ package browse ...@@ -3,6 +3,7 @@ package browse
import ( import (
"context" "context"
"encoding/json" "encoding/json"
"fmt"
"io/ioutil" "io/ioutil"
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"
...@@ -461,7 +462,10 @@ func TestBrowseRedirect(t *testing.T) { ...@@ -461,7 +462,10 @@ func TestBrowseRedirect(t *testing.T) {
func TestDirSymlink(t *testing.T) { func TestDirSymlink(t *testing.T) {
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
return // TODO: Temporarily skipping these tests on Windows, so we can get a release out that fixes the build server // Windows support for symlinks is limited, and we had a hard time getting
// all these tests to pass with the permissions of CI; so just skip them
fmt.Println("Skipping browse symlink tests on Windows...")
return
} }
testCases := []struct { testCases := []struct {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment