Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'workhorse/internal/zipartifacts/open_archive_test.go')
-rw-r--r--workhorse/internal/zipartifacts/open_archive_test.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/workhorse/internal/zipartifacts/open_archive_test.go b/workhorse/internal/zipartifacts/open_archive_test.go
index ea1fc606784..e339454345b 100644
--- a/workhorse/internal/zipartifacts/open_archive_test.go
+++ b/workhorse/internal/zipartifacts/open_archive_test.go
@@ -1,7 +1,6 @@
package zipartifacts
import (
- "archive/zip"
"bytes"
"context"
"fmt"
@@ -10,11 +9,10 @@ import (
"net/http/httptest"
"os"
"path/filepath"
- "runtime"
- "strings"
"testing"
"github.com/stretchr/testify/require"
+ zip "gitlab.com/gitlab-org/golang-archive-zip"
)
func createArchive(t *testing.T, dir string) (map[string][]byte, int64) {
@@ -73,10 +71,6 @@ func TestOpenHTTPArchive(t *testing.T) {
}
func TestMinimalRangeRequests(t *testing.T) {
- if strings.HasPrefix(runtime.Version(), "go1.17") {
- t.Skipf("skipped for go1.17: https://gitlab.com/gitlab-org/gitlab/-/issues/340778")
- }
-
dir := t.TempDir()
entries, archiveSize := createArchive(t, dir)