Этот коммит содержится в:
Ben Schumacher
2023-10-11 10:13:36 +02:00
коммит произвёл GitHub
родитель 176370e175
Коммит 0d5a8b8841
189 изменённых файлов: 1 добавлений и 361 удалений

2
server/platform/services/cache/lru_test.go поставляемый
Просмотреть файл

@@ -80,7 +80,6 @@ func TestLRU(t *testing.T) {
err = l.Get("201", &v)
require.NoError(t, err)
require.Equal(t, 301, v)
}
func TestLRUExpire(t *testing.T) {
@@ -291,7 +290,6 @@ func TestLRUMarshalUnMarshal(t *testing.T) {
}
func BenchmarkLRU(b *testing.B) {
value1 := "simplestring"
b.Run("simple=new", func(b *testing.B) {

Просмотреть файл

@@ -53,7 +53,6 @@ func TestHTTPClient(t *testing.T) {
} else {
require.Error(t, err)
}
})
}
})

Просмотреть файл

@@ -185,5 +185,4 @@ func TestGetAtmosCamoImageURL(t *testing.T) {
assert.Equal(t, test.Expected, backend.getAtmosCamoImageURL(test.Input))
})
}
}

Просмотреть файл

@@ -297,7 +297,6 @@ func newProxyRequest(r *http.Request, baseURL *url.URL) (*proxyRequest, error) {
if err != nil {
return nil, URLError{fmt.Sprintf("unable to parse remote URL: %v", err), r.URL}
}
}
if baseURL != nil {

Просмотреть файл

@@ -95,7 +95,6 @@ func collectBatches(t *testing.T, info *[]testBatch, pchan chan testTelemetryPay
}
func makeTelemetryServiceAndReceiver(t *testing.T, cloudLicense bool) (*TelemetryService, chan testTelemetryPayload, *model.Config, func()) {
cfg := &model.Config{}
cfg.SetDefaults()
serverIfaceMock, storeMock, deferredAssertions, cleanUp := initializeMocks(cfg, cloudLicense)