client: drop client timeout in tests
A timeout doesn't make sense on this level, because it is very difficult to estimate how long downloading rpm metadata takes. Drop it completely in favor of higher-level timeouts in the test runner. Fixes #601
This commit is contained in:
parent
d49f0fef44
commit
2ecdee6814
3 changed files with 3 additions and 8 deletions
|
|
@ -9,7 +9,6 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/osbuild/osbuild-composer/internal/test"
|
||||
)
|
||||
|
|
@ -21,7 +20,7 @@ var testState *TestState
|
|||
// Also makes sure there is a running server to test against
|
||||
func executeTests(m *testing.M) int {
|
||||
var err error
|
||||
testState, err = setUpTestState("/run/weldr/api.socket", 60*time.Second, false)
|
||||
testState, err = setUpTestState("/run/weldr/api.socket", false)
|
||||
if err != nil {
|
||||
fmt.Printf("ERROR: Test setup failed: %s\n", err)
|
||||
panic(err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue