Elasticsearch: Remove frontend testDatasource method (#99894)

This commit is contained in:
Ida Štambuk
2025-02-10 18:33:36 +01:00
committed by GitHub
parent 4e48b7557c
commit 7092fd269d
6 changed files with 219 additions and 92 deletions

View File

@ -290,7 +290,7 @@ func TestIndexPattern(t *testing.T) {
func indexPatternScenario(t *testing.T, interval string, pattern string, timeRange backend.TimeRange, fn func(indices []string)) {
testName := fmt.Sprintf("Index pattern (interval=%s, index=%s", interval, pattern)
t.Run(testName, func(t *testing.T) {
ip, err := newIndexPattern(interval, pattern)
ip, err := NewIndexPattern(interval, pattern)
require.NoError(t, err)
require.NotNil(t, ip)
indices, err := ip.GetIndices(timeRange)