From ebb6762337f182324840d29df663f0e44f86c190 Mon Sep 17 00:00:00 2001 From: Justin Hiemstra Date: Thu, 21 Nov 2024 21:55:57 +0000 Subject: [PATCH] Speedup ubuntu tests by passing --single-target to goreleaser --- .github/workflows/test.yml | 2 +- local_cache/cache_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7d0e56fc3..bbc670a52 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -132,7 +132,7 @@ jobs: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser version: latest - args: --clean --snapshot + args: --clean --snapshot --single-target - name: Copy files (Ubuntu) run: | cp dist/pelican_linux_amd64_v1/pelican ./ diff --git a/local_cache/cache_test.go b/local_cache/cache_test.go index eac121845..d6f1e7066 100644 --- a/local_cache/cache_test.go +++ b/local_cache/cache_test.go @@ -375,7 +375,7 @@ func TestLargeFile(t *testing.T) { server_utils.ResetTestState() clientConfig := map[string]interface{}{ - "Client.MaximumDownloadSpeed": 40 * 1024 * 1024, + "Client.MaximumDownloadSpeed": 40 * 1024 * 1024, "Transport.ResponseHeaderTimeout": "1000s", } test_utils.InitClient(t, clientConfig)