mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
Fixes for multiplatform dev and testing from forks (#7734)
Add support for correct dependency URLs on all platforms only build mountinfo.go on linux make testfile path relative to support fork work
This commit is contained in:
@@ -18,12 +18,10 @@ package s3select
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"go/build"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"os"
|
||||
"path"
|
||||
"reflect"
|
||||
"testing"
|
||||
)
|
||||
@@ -174,7 +172,7 @@ func TestParquetInput(t *testing.T) {
|
||||
`)
|
||||
|
||||
getReader := func(offset int64, length int64) (io.ReadCloser, error) {
|
||||
testdataFile := path.Join(build.Default.GOPATH, "src/github.com/minio/minio/pkg/s3select/testdata.parquet")
|
||||
testdataFile := "testdata.parquet"
|
||||
file, err := os.Open(testdataFile)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user