mirror of
https://github.com/grafana/loki.git
synced 2025-08-02 11:37:22 +08:00
Fix Flaky Integration Tests (#7360)
Allow the OS kernel to decide what's an open port instead of trying to guess
This commit is contained in:
@ -34,9 +34,9 @@ func TestSimpleScalableIngestQuery(t *testing.T) {
|
||||
tenantID := randStringRunes()
|
||||
|
||||
now := time.Now()
|
||||
cliWrite := client.New(tenantID, "", tWrite.HTTPURL().String())
|
||||
cliWrite := client.New(tenantID, "", tWrite.HTTPURL())
|
||||
cliWrite.Now = now
|
||||
cliRead := client.New(tenantID, "", tRead.HTTPURL().String())
|
||||
cliRead := client.New(tenantID, "", tRead.HTTPURL())
|
||||
cliRead.Now = now
|
||||
|
||||
t.Run("ingest logs", func(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user