Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: --clean --snapshot
args: build --single-target --clean --snapshot
- name: Copy files (Ubuntu)
run: |
cp dist/pelican_linux_amd64_v1/pelican ./
Expand Down
8 changes: 6 additions & 2 deletions local_cache/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,12 @@ func TestLargeFile(t *testing.T) {
tmpDir := t.TempDir()

server_utils.ResetTestState()
viper.Set("Client.MaximumDownloadSpeed", 40*1024*1024)

clientConfig := map[string]interface{}{
"Client.MaximumDownloadSpeed": 40 * 1024 * 1024,
"Transport.ResponseHeaderTimeout": "60s",
}
test_utils.InitClient(t, clientConfig)
ft := fed_test_utils.NewFedTest(t, pubOriginCfg)

ctx, cancel, egrp := test_utils.TestContext(context.Background(), t)
Expand Down Expand Up @@ -408,7 +413,6 @@ func TestLargeFile(t *testing.T) {
// Throw in a config.Reset for good measure. Keeps our env squeaky clean!
server_utils.ResetTestState()
})

}

// Create a federation then SIGSTOP the origin to prevent it from responding.
Expand Down
Loading